18.1.1 Configuration Objects
Configuration objects (returned by newconfig() have the
following methods:
audio configurationgetqueuesize()
- Return the queue size.
audio configurationsetqueuesize(size)
- Set the queue size.
audio configurationgetwidth()
- Get the sample width.
audio configurationsetwidth(width)
- Set the sample width.
audio configurationgetchannels()
- Get the channel count.
audio configurationsetchannels(nchannels)
- Set the channel count.
audio configurationgetsampfmt()
- Get the sample format.
audio configurationsetsampfmt(sampfmt)
- Set the sample format.
audio configurationgetfloatmax()
- Get the maximum value for floating sample formats.
audio configurationsetfloatmax(floatmax)
- Set the maximum value for floating sample formats.