From c0d0a4ae7c0b21d6d240972da739d7a3c04561d7 Mon Sep 17 00:00:00 2001 From: Johns Date: Mon, 16 Jan 2012 15:42:17 +0100 Subject: 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. --- audio.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'audio.h') 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 -- cgit v1.2.3