summaryrefslogtreecommitdiff
path: root/audio.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-10 00:15:38 +0100
committerJohns <johns98@gmx.net>2011-12-10 00:15:38 +0100
commit749b0d672142c685556fa9f3788bff732920460b (patch)
treecff47acb11c9bd55688790ba4904d8845d6eddeb /audio.h
parente1d8609143bc661b9ad84c91abb815ca0e9f9e36 (diff)
downloadvdr-plugin-softhddevice-749b0d672142c685556fa9f3788bff732920460b.tar.gz
vdr-plugin-softhddevice-749b0d672142c685556fa9f3788bff732920460b.tar.bz2
Video enhancements.
Pass PTS to video codec. Flush audio buffer on channel change. Sync audio + video stream. Add workaround for Intel VA-API driver that forgets OSD position/size.
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 257aa83..fbd41ed 100644
--- a/audio.h
+++ b/audio.h
@@ -32,9 +32,10 @@ extern void AudioEnqueue(const void *, int); ///< buffer audio samples
//extern int AudioFreeBytes(void); ///< free bytes in audio output
//extern int AudioUsedBytes(void); ///< used bytes in audio output
extern void AudioSetClock(int64_t); ///< set audio clock base
+extern int64_t AudioGetClock(); ///< get current audio clock
-//extern int64_t AudioGetClock(); ///< get current audio clock
extern uint64_t AudioGetDelay(void); ///< get current audio delay
+
extern int AudioSetup(int *, int *); ///< setup audio output
//extern void AudioPlay(void); ///< play audio