Driver Entry Points audio_engine_channels(9E)
NAME
audio_engine_channels - return the number of channels for an
audio engineSYNOPSIS
#include
int prefix_channels(void *state);
PARAMETERS
state pointer to driver supplied soft stateINTERFACE LEVEL
Solaris DDI specific (Solaris DDI)DESCRIPTION
The audio_engine_channels() function is called by the frame-
work to determine the number of channels used by the engine. The audio framework currently supports between one and 16 channels. There is no standard convention for the layout of more than eight channels. An audio engine may not change the number of channels it uses while it is open.RETURN VALUES
The audio_engine_channels() function returns the number of
channels for the engine (such as 1 for mono, 2 for stereo, 6 for 5.1 surround, or 8 for 7.1 surround.)CONTEXT
This function may be called from user or interrupt context.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 16 Apr 2010 1
Driver Entry Points audio_engine_channels(9E)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
attributes(5), audio(7D), audio_engine_ops(9S)
SunOS 5.11 Last change: 16 Apr 2010 2