Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 745fcc45b8
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (28 sloc) 0.883 kb
#ifndef DEVICE_COREAUDIO_H
#define DEVICE_COREAUDIO_H
#include "audiere.h"
#include "device_mixer.h"
#include <AudioUnit/AudioUnit.h>
#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
#include <AudioUnit/AUNTComponent.h>
#endif
namespace audiere {
class CAAudioDevice : public MixerDevice {
public:
static CAAudioDevice* create(const ParameterList& parameters);
private:
CAAudioDevice(ComponentInstance output_audio_unit);
~CAAudioDevice();
public:
void ADR_CALL update();
const char* ADR_CALL getName();
static OSStatus fillInput(void *inRefCon,
AudioUnitRenderActionFlags inActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
AudioBuffer *ioData);
private:
ComponentInstance m_output_audio_unit;
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.