summaryrefslogtreecommitdiff
path: root/audio.h
diff options
context:
space:
mode:
authorMorone <>2012-01-22 16:54:22 +0100
committerJohns <johns98@gmx.net>2012-01-22 16:54:22 +0100
commit970493fb23b03cc2f0d7b9a829a2cb85c621c980 (patch)
tree64eb3f91ee0462dac0d9cbc47fc2f01830322bbd /audio.h
parent329dbc5f07dd38b432a207f5f5d40793e2f7f6dd (diff)
downloadvdr-plugin-softhddevice-970493fb23b03cc2f0d7b9a829a2cb85c621c980.tar.gz
vdr-plugin-softhddevice-970493fb23b03cc2f0d7b9a829a2cb85c621c980.tar.bz2
Use different alsa device for AC3/pass-through.
Diffstat (limited to 'audio.h')
-rw-r--r--audio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio.h b/audio.h
index f031c7d..2a4c45f 100644
--- a/audio.h
+++ b/audio.h
@@ -37,12 +37,13 @@ extern uint64_t AudioGetDelay(void); ///< get current audio delay
extern void AudioSetClock(int64_t); ///< set audio clock base
extern int64_t AudioGetClock(); ///< get current audio clock
extern void AudioSetVolume(int); ///< set volume
-extern int AudioSetup(int *, int *); ///< setup audio output
+extern int AudioSetup(int *, int *, int); ///< setup audio output
//extern void AudioPlay(void); ///< play audio
//extern void AudioPause(void); ///< pause audio
extern void AudioSetDevice(const char *); ///< set PCM audio device
+extern void AudioSetDeviceAC3(const char *); ///< set Passthrough device
extern void AudioInit(void); ///< setup audio module
extern void AudioExit(void); ///< cleanup and exit audio module