ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOAudioEngine.h

Includes:

Overview

This header contains the definition of the IOAudioEngine class. An instance of IOAudioEngine is defined by a single I/O engine to transfer data to or from one or more sample buffers. An audio driver must subclass IOAudioEngine in order to provide certain services, such as starting and stopping the I/O engine when requested.



Classes

IOAudioEngine

Abstract base class for a single audio audio / I/O engine.



Typedefs


IOAudioEnginePosition


Represents a position in an audio audio engine.

typedef struct { 
    UInt32 fSampleFrame; 
    UInt32 fLoopCount; 
} IOAudioEnginePosition;  
Fields
fSampleFrame

The sample frame within the buffer - starts at 0.

fLoopCount

The number of times the ring buffer has looped.

Discussion

This position is based on the sample frame within a loop around the sample buffer, and the loop count which starts at 0 when the audio engine begins playback.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19