15.1.1 Configuration Objects

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

getqueuesize ()
Return the queue size.

setqueuesize (size)
Set the queue size.

getwidth ()
Get the sample width.

setwidth (width)
Set the sample width.

getchannels ()
Get the channel count.

setchannels (nchannels)
Set the channel count.

getsampfmt ()
Get the sample format.

setsampfmt (sampfmt)
Set the sample format.

getfloatmax ()
Get the maximum value for floating sample formats.

setfloatmax (floatmax)
Set the maximum value for floating sample formats.


guido@python.org