summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
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);
}
/**