MythTV master
audiooutputwin.h
Go to the documentation of this file.
1#ifndef AUDIOOUTPUTWIN
2#define AUDIOOUTPUTWIN
3
4// MythTV headers
5#include "audiooutputbase.h"
6
8
10{
12 public:
13 explicit AudioOutputWin(const AudioSettings &settings);
14 virtual ~AudioOutputWin();
15
16 // Volume control
17 int GetVolumeChannel(int channel) const override; // VolumeBase
18 void SetVolumeChannel(int channel, int volume) override; // VolumeBase
19
20 protected:
21 bool OpenDevice(void) override; // AudioOutputBase
22 void CloseDevice(void) override; // AudioOutputBase
23 void WriteAudio(unsigned char *aubuf, int size) override; // AudioOutputBase
24 int GetBufferedOnSoundcard(void) const override; // AudioOutputBase
25 AudioOutputSettings* GetOutputSettings(bool digital) override; // AudioOutputBase
26
27 protected:
29 long m_nPkts {0};
31 unsigned char **m_OutPkts {nullptr};
33
34 static const uint kPacketCnt;
35};
36
37#endif // AUDIOOUTPUTWIN
void SetVolumeChannel(int channel, int volume) override
int GetBufferedOnSoundcard(void) const override
Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback lat...
AudioOutputWinPrivate * m_priv
static const uint kPacketCnt
bool OpenDevice(void) override
AudioOutputSettings * GetOutputSettings(bool digital) override
virtual ~AudioOutputWin()
int GetVolumeChannel(int channel) const override
unsigned char ** m_OutPkts
void CloseDevice(void) override
AudioOutputWin(const AudioSettings &settings)
void WriteAudio(unsigned char *aubuf, int size) override
unsigned int uint
Definition: freesurround.h:24