summaryrefslogtreecommitdiff
path: root/dxr3audio.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-12-09 12:33:30 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-12-09 12:33:30 +0100
commit20a8ac86da1f1a75bbc9f8a863de455babccb0c1 (patch)
tree23f7d375d129e3fa73b739ec85294c50616bf7ea /dxr3audio.c
parentc9459a581236bb1a8329a2f8efadd43f47ee4cce (diff)
downloadvdr-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.c')
-rw-r--r--dxr3audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dxr3audio.c b/dxr3audio.c
index 7cfbc50..793efad 100644
--- a/dxr3audio.c
+++ b/dxr3audio.c
@@ -29,7 +29,7 @@ const static int AUDIO_STEREO = 0;
const static int AUDIO_MONO_LEFT = 1;
const static int AUDIO_MONO_RIGHT = 2;
-iAudio::iAudio() : open(false), vol(0), audioChannel(0), digitalAudio(false)
+iAudio::iAudio() : open(false), vol(0), audioChannel(0), digitalAudio(false), ac3dts(false)
{
memset(&curContext, 0, sizeof(SampleContext));
}