Driver Entry Points audio_engine_rate(9E)
NAME
audio_engine_rate - return the sample rate of an audio
engineSYNOPSIS
#include
int prefix_rate(void *state);
PARAMETERS
state pointer to driver supplied soft stateINTERFACE LEVEL
Solaris DDI specific (Solaris DDI)DESCRIPTION
The audio_engine_rate() function is called by the framework
to determine the sample rate of the engine, represented in Hz.RETURN VALUES
The audio_engine_rate() function returns the sample rate of
the engine expressed in Hz.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