30 #import <Foundation/Foundation.h>
31 #import <AudioToolbox/AudioToolbox.h>
43 #define AEMixerBufferSourceInactive (UINT32_MAX-1)
59 AudioBufferList *audio,
60 const AudioTimeStamp *inTimeStamp,
76 AudioTimeStamp *outTimestamp,
102 - (id)initWithClientFormat:(AudioStreamBasicDescription)clientFormat;
126 void AEMixerBufferEnqueue(
AEMixerBuffer *mixerBuffer, AEMixerBufferSource source, AudioBufferList *audio, UInt32 lengthInFrames,
const AudioTimeStamp *timestamp);
223 - (void)setAudioDescription:(AudioStreamBasicDescription)audioDescription forSource:(AEMixerBufferSource)source;
228 - (void)setVolume:(
float)volume forSource:(AEMixerBufferSource)source;
233 - (float)volumeForSource:(AEMixerBufferSource)source;
238 - (void)setPan:(
float)pan forSource:(AEMixerBufferSource)source;
243 - (float)panForSource:(AEMixerBufferSource)source;
258 - (void)unregisterSource:(AEMixerBufferSource)source;
266 @property (nonatomic, assign) AudioStreamBasicDescription clientFormat;