7#define AUDBUFSIZE 512000
20 static QMap<QString, QString> *
GetDevices(
const char *
type =
nullptr);
26 unsigned long long timestamp);
37 void WriteAudio(
unsigned char *aubuf,
int size)
override;
Implements Core Audio (Mac OS X Hardware Abstraction Layer) output.
std::chrono::milliseconds GetAudiotime(void) override
Reimplement the base class's version of GetAudiotime() so that we don't use gettimeofday or Qt mutexe...
int GetVolumeChannel(int channel) const override
void CloseDevice(void) override
void SetVolumeChannel(int channel, int volume) override
void StopOutputThread(void) override
void WriteAudio(unsigned char *aubuf, int size) override
int GetBufferedOnSoundcard(void) const override
Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback lat...
AudioOutputSettings * GetOutputSettings(bool digital) override
static QMap< QString, QString > * GetDevices(const char *type=nullptr)
bool StartOutputThread(void) override
AudioOutputCA(const AudioSettings &settings)
bool OpenDevice(void) override
bool RenderAudio(unsigned char *aubuf, int size, unsigned long long timestamp)
Object-oriented part of callback.
This holds Core Audio member variables and low-level audio IO methods The name is now a misnomer,...