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 /dxr3interface.h | |
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 'dxr3interface.h')
-rw-r--r-- | dxr3interface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dxr3interface.h b/dxr3interface.h index 3ac942d..7f429d6 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -61,6 +61,14 @@ public: { m_volume = volume; } + void SetAudioChannel(int audiochannel) + { + m_audioChannel = audiochannel; + } + int GetAudioChannel(void) + { + return m_audioChannel; + } void SetAudioSpeed(uint32_t speed); void SetChannelCount(uint32_t count); void SetAudioSampleSize(uint32_t sampleSize); @@ -174,6 +182,7 @@ private: uint32_t m_spuMode; bool m_ExternalReleased; ///< is dxr3 used by e.g. mplayer? int m_volume; ///< volumevalue (0...255) + int m_audioChannel; ///> 0=stereo, 1=left, 2=right audio channel bool m_AudioActive; ///< is audio active? bool m_VideoActive; ///< is video active? bool m_OverlayActive; ///< is overlay active? |