summaryrefslogtreecommitdiff
path: root/audio.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-16 15:42:17 +0100
committerJohns <johns98@gmx.net>2012-01-16 15:42:17 +0100
commitc0d0a4ae7c0b21d6d240972da739d7a3c04561d7 (patch)
tree8d3659091ddef2d189f2aba5de8b19fc4884b785 /audio.h
parente619f5c836741868ce01630892d435f793dd960a (diff)
downloadvdr-plugin-softhddevice-c0d0a4ae7c0b21d6d240972da739d7a3c04561d7.tar.gz
vdr-plugin-softhddevice-c0d0a4ae7c0b21d6d240972da739d7a3c04561d7.tar.bz2
Audio module cleanup (more to come).
Alsa + OSS can be included/build at the same time. Alsa or OSS can be runtime selected with -a. Add audio thread support to OSS module. Add polled audio support to alsa module. Removed some debug source code.
Diffstat (limited to 'audio.h')
-rw-r--r--audio.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio.h b/audio.h
index eec0163..f031c7d 100644
--- a/audio.h
+++ b/audio.h
@@ -30,21 +30,19 @@
extern void AudioEnqueue(const void *, int); ///< buffer audio samples
extern void AudioFlushBuffers(void); ///< flush audio buffers
extern void AudioPoller(void); ///< poll audio events/handling
-
extern int AudioFreeBytes(void); ///< free bytes in audio output
//extern int AudioUsedBytes(void); ///< used bytes in audio output
+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 uint64_t AudioGetDelay(void); ///< get current audio delay
-
+extern void AudioSetVolume(int); ///< set volume
extern int AudioSetup(int *, int *); ///< setup audio output
//extern void AudioPlay(void); ///< play audio
//extern void AudioPause(void); ///< pause audio
-extern void AudioSetVolume(int); ///< set volume
-extern void AudioSetDevice(const char *); ///< set alsa PCM audio device
+extern void AudioSetDevice(const char *); ///< set PCM audio device
extern void AudioInit(void); ///< setup audio module
extern void AudioExit(void); ///< cleanup and exit audio module