summaryrefslogtreecommitdiff
path: root/dxr3.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 /dxr3.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 'dxr3.c')
-rw-r--r--dxr3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dxr3.c b/dxr3.c
index 3a4debb..17397b6 100644
--- a/dxr3.c
+++ b/dxr3.c
@@ -274,6 +274,7 @@ cString cPluginDxr3::SVDRPCommand(const char *Command, const char *Option,
cDxr3Interface::instance()->updateBcsValues();
return cString::sprintf("Saturation set to %d", value);
}
+#if 0
if (!strcasecmp(Command, "SDO")) {
device->getAudioOutput()->setAudioMode(iAudio::DigitalPcm);
return "Switched to digital PCM audio output";
@@ -286,6 +287,7 @@ cString cPluginDxr3::SVDRPCommand(const char *Command, const char *Option,
device->getAudioOutput()->setAudioMode(iAudio::Ac3);
return "Switched to digital AC3 audio output";
}
+#endif
if (!strcasecmp(Command, "DON")) {
device->turnPlugin(true);
return "vdr-plugin-dxr3 turned on";