Python Library Reference
Previous:
20.1 al
Up:
20.1 al
Next:
20.1.2 Port Objects
20.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.
Release 2.3a0, documentation updated on March 24, 2002.
See
About this document...
for information on suggesting changes.