Driver Entry Points audio_engine_qlen(9E)
NAME
audio_engine_qlen - return the depth of an audio engine's
queueSYNOPSIS
#include
uint_t prefix_qlen(void *state);
PARAMETERS
state pointer to driver supplied soft stateINTERFACE LEVEL
Solaris DDI specific (Solaris DDI)DESCRIPTION
The audio_engine_qlen() function returns the depth, in
frames, of any on-device FIFO. It is used to improve the
latency-related calculations in the framework. For most dev-
ices the value 0 is appropriate, since they DMA directly from the buffer into the codec.RETURN VALUES
The audio_engine_qlen() function returns the depth of any
hardware FIFO as a count in frames.CONTEXT
This function may be called from user or interrupt context.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| 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 1