ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOAudioLib.h |
Include Path: | <IOKit/audio/IOAudioLib.h> |
Path: | /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/audio/IOAudioLib.h |
Includes: |
This header includes the C interface to IOAudio functions, used for controlling audio devices. Developers are encouraged to use the Core Audio HAL rather than attempting to control an audio device directly.
For more information on the Core Audio HAL, download the Core Audio SDK from http://developer.apple.com/audio/.
Indicate the position at which the audio stream can be stopped.
Determines if the audio stream is an output stream
Set autoerase flag, returns old value
IOAudioFlush |
Indicate the position at which the audio stream can be stopped.
kern_return_t IOAudioFlush( io_connect_t connect, IOAudioStreamPosition *end);
connect
the audio stream
end
the position
kern_return_t
IOAudioIsOutput |
Determines if the audio stream is an output stream
kern_return_t IOAudioIsOutput( io_service_t service, int *out);
service
out
kern_return_t
IOAudioSetErase |
Set autoerase flag, returns old value
kern_return_t IOAudioSetErase( io_connect_t connect, int erase, int *oldVal);
connect
the audio stream
erase
true to turn off, false otherwise
oldVal
previous value
kern_return_t
|
Last Updated: 2009-02-23