Go to the documentation of this file. 1 #ifndef _AUDIOOUTPUTAUDIOTRACK_H_
2 #define _AUDIOOUTPUTAUDIOTRACK_H_
22 bool AddData(
void *buffer,
int len, std::chrono::milliseconds timecode,
int frames)
override;
29 void Pause(
bool paused)
override;
34 void WriteAudio(
unsigned char *aubuf,
int size)
override;
44 #endif //_AUDIOOUTPUTAUDIOTRACK_H_
void SetVolumeChannel(int, int) override
QAndroidJniObject * m_audioTrack
bool StartOutputThread(void) override
int GetBufferedOnSoundcard(void) const override
Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback lat...
void SetSourceBitrate(int rate) override
#define QAndroidJniObject
void WriteAudio(unsigned char *aubuf, int size) override
bool OpenDevice(void) override
bool AddData(void *buffer, int len, std::chrono::milliseconds timecode, int frames) override
Add data to the audiobuffer for playback.
int GetVolumeChannel(int) const override
AudioOutputAudioTrack(const AudioSettings &settings)
void StopOutputThread(void) override
~AudioOutputAudioTrack() override
void Pause(bool paused) override
AudioOutputSettings * GetOutputSettings(bool digital) override
void CloseDevice(void) override