diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-09 12:33:30 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-12-09 12:33:30 +0100 |
commit | 20a8ac86da1f1a75bbc9f8a863de455babccb0c1 (patch) | |
tree | 23f7d375d129e3fa73b739ec85294c50616bf7ea /dxr3audio-alsa.h | |
parent | c9459a581236bb1a8329a2f8efadd43f47ee4cce (diff) | |
download | vdr-plugin-dxr3-20a8ac86da1f1a75bbc9f8a863de455babccb0c1.tar.gz vdr-plugin-dxr3-20a8ac86da1f1a75bbc9f8a863de455babccb0c1.tar.bz2 |
change structure of iAudio class
This change introduces some bigger changes in how analog/digital audio
will be handled. VDR notifices the plugin via cDxr3Device::SetDigitalAudioDevice, if
if the we need to use analog or digital audio. With digital audio I mean digital PCM.
Based on the informations get via the pes packet ac3dts will be switched on or off.
So the svdrp commands SDO, SAO and SAC3 do not make sense at the moment.
Diffstat (limited to 'dxr3audio-alsa.h')
-rw-r--r-- | dxr3audio-alsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dxr3audio-alsa.h b/dxr3audio-alsa.h index ed96d06..31e4f95 100644 --- a/dxr3audio-alsa.h +++ b/dxr3audio-alsa.h @@ -36,7 +36,7 @@ public: virtual void releaseDevice(); virtual void setup(const SampleContext& ctx); virtual void write(uchar* data, size_t size); - virtual void setAudioMode(AudioMode m); + virtual void setDigitalAudio(bool on) {} private: snd_pcm_t *handle; |