Configuration Objects -- Python library reference



Next: Port Objects Prev: al Up: al Top: Top

16.1.1. Configuration Objects

Configuration objects (returned by al.newconfig() have the following methods:

getqueuesize () -- Method on audio configuration object
Return the queue size.
setqueuesize (size) -- Method on audio configuration object
Set the queue size.
getwidth () -- Method on audio configuration object
Get the sample width.
setwidth (width) -- Method on audio configuration object
Set the sample width.
getchannels () -- Method on audio configuration object
Get the channel count.
setchannels (nchannels) -- Method on audio configuration object
Set the channel count.
getsampfmt () -- Method on audio configuration object
Get the sample format.
setsampfmt (sampfmt) -- Method on audio configuration object
Set the sample format.
getfloatmax () -- Method on audio configuration object
Get the maximum value for floating sample formats.
setfloatmax (floatmax) -- Method on audio configuration object
Set the maximum value for floating sample formats.


Next: Port Objects Prev: al Up: al Top: Top