IOAudioLib.h

Overview

C interface to IOAudio functions



Functions

IOAudioFlush

Indicate the position at which the audio stream can be stopped.

IOAudioIsOutput

Determines if the audio stream is an output stream

IOAudioSetErase

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);  
Parameters
connect

the audio stream

end

the position

Return Value

kern_return_t


IOAudioIsOutput


Determines if the audio stream is an output stream

kern_return_t IOAudioIsOutput(
    io_service_t service,
    int *out);  
Parameters
service
out
Return Value

kern_return_t


IOAudioSetErase


Set autoerase flag, returns old value

kern_return_t IOAudioSetErase(
    io_connect_t connect,
    int erase,
    int *oldVal);  
Parameters
connect

the audio stream

erase

true to turn off, false otherwise

oldVal

previous value

Return Value

kern_return_t

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15