summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-02-11 18:22:48 +0100
committerJohns <johns98@gmx.net>2012-02-11 18:22:48 +0100
commita91533f6d1c3c723ef7e4ac89b1d7d53014453b5 (patch)
treeb02d845fec3354cf7723d99abceecc4e912f248d /audio.c
parentbaa4500a2c0214c3022e43377e31620b43d85f8f (diff)
downloadvdr-plugin-softhddevice-a91533f6d1c3c723ef7e4ac89b1d7d53014453b5.tar.gz
vdr-plugin-softhddevice-a91533f6d1c3c723ef7e4ac89b1d7d53014453b5.tar.bz2
Detect audio stream type only after stream switch.
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/audio.c b/audio.c
index 5dec74a..a65d63d 100644
--- a/audio.c
+++ b/audio.c
@@ -2070,13 +2070,7 @@ int64_t AudioGetClock(void)
*/
void AudioSetVolume(int volume)
{
-#ifdef USE_ALSA
- AlsaSetVolume(volume);
-#endif
-#ifdef USE_OSS
- OssSetVolume(volume);
-#endif
- (void)volume;
+ return AudioUsedModule->SetVolume(volume);
}
/**