Configuration Objects

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


\begin{funcdesc}{getqueuesize}{}
Return the queue size.
\end{funcdesc}


\begin{funcdesc}{setqueuesize}{size}
Set the queue size.
\end{funcdesc}


\begin{funcdesc}{getwidth}{}
Get the sample width.
\end{funcdesc}


\begin{funcdesc}{setwidth}{width}
Set the sample width.
\end{funcdesc}


\begin{funcdesc}{getchannels}{}
Get the channel count.
\end{funcdesc}


\begin{funcdesc}{setchannels}{nchannels}
Set the channel count.
\end{funcdesc}


\begin{funcdesc}{getsampfmt}{}
Get the sample format.
\end{funcdesc}


\begin{funcdesc}{setsampfmt}{sampfmt}
Set the sample format.
\end{funcdesc}


\begin{funcdesc}{getfloatmax}{}
Get the maximum value for floating sample formats.
\end{funcdesc}


\begin{funcdesc}{setfloatmax}{floatmax}
Set the maximum value for floating sample formats.
\end{funcdesc}