diff options
author | scop <scop> | 2005-07-06 20:16:21 +0000 |
---|---|---|
committer | scop <scop> | 2005-07-06 20:16:21 +0000 |
commit | 03bf2b32eb47000db964ba1584089c0796b83031 (patch) | |
tree | a49b9555ec766678128fb3d050915e90be55913c /dxr3device.c | |
parent | e3ee6659c9d6fc698fa15a3973b3046827fceef9 (diff) | |
download | vdr-plugin-dxr3-03bf2b32eb47000db964ba1584089c0796b83031.tar.gz vdr-plugin-dxr3-03bf2b32eb47000db964ba1584089c0796b83031.tar.bz2 |
Add stereo/left/right audio channel switching (Malcolm Caldwell).
Diffstat (limited to 'dxr3device.c')
-rw-r--r-- | dxr3device.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dxr3device.c b/dxr3device.c index 939fe57..6f32923 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -438,6 +438,17 @@ void cDxr3Device::SetVolumeDevice(int Volume) } // ================================== +//! sets audio channel for audio output (stero, mono left, mono right) +void cDxr3Device::SetAudioChannelDevice(int AudioChannel) +{ + cDxr3Interface::Instance().SetAudioChannel(AudioChannel); +} +int cDxr3Device::GetAudioChannelDevice(void) +{ + return cDxr3Interface::Instance().GetAudioChannel(); +} + +// ================================== // get spudecoder cSpuDecoder *cDxr3Device::GetSpuDecoder(void) { |