ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.5
Python Documentation
Library Reference
34. SGI IRIX Specific Services
34.1 al -- Audio functions on the SGI
34.1.1 Configuration Objects
34.1.2 Port Objects
34.2 AL -- Constants used with the al module
34.3 cd -- CD-ROM access on SGI systems
34.4 fl -- FORMS library for graphical user interfaces
34.5 FL -- Constants used with the fl module
34.6 flp -- Functions for loading stored FORMS designs
34.7 fm -- Font Manager interface
34.8 gl -- Graphics Library interface
34.9 DEVICE -- Constants used with the gl module
34.10 GL -- Constants used with the gl module
34.11 imgfile -- Support for SGI imglib files
34.12 jpeg -- Read and write JPEG files

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Library Reference >> 34. SGI IRIX Specific Services
ActivePython 2.5 documentation

34.1 al -- Audio functions on the SGI

Availability: IRIX.

This module provides access to the audio facilities of the SGI Indy and Indigo workstations. See section 3A of the IRIX man pages for details. You'll need to read those man pages to understand what these functions do! Some of the functions are not available in IRIX releases before 4.0.5. Again, see the manual to check whether a specific function is available on your platform.

All functions and methods defined in this module are equivalent to the C functions with "AL" prefixed to their name.

Symbolic constants from the C header file <audio.h> are defined in the standard module AL, see below.

Warning: The current version of the audio library may dump core when bad argument values are passed rather than returning an error status. Unfortunately, since the precise circumstances under which this may happen are undocumented and hard to check, the Python interface can provide no protection against this kind of problems. (One example is specifying an excessive queue size -- there is no documented upper limit.)

The module defines the following functions:

openport( name, direction[, config])
The name and direction arguments are strings. The optional config argument is a configuration object as returned by newconfig(). The return value is an audio port object; methods of audio port objects are described below.

newconfig( )
The return value is a new audio configuration object; methods of audio configuration objects are described below.

queryparams( device)
The device argument is an integer. The return value is a list of integers containing the data returned by ALqueryparams().

getparams( device, list)
The device argument is an integer. The list argument is a list such as returned by queryparams(); it is modified in place (!).

setparams( device, list)
The device argument is an integer. The list argument is a list such as returned by queryparams().



See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved