summaryrefslogtreecommitdiffstats
path: root/dec_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_audio.c')
-rw-r--r--dec_audio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dec_audio.c b/dec_audio.c
index 6aaf27ebd8..714c04c5fb 100644
--- a/dec_audio.c
+++ b/dec_audio.c
@@ -22,6 +22,8 @@ extern int verbose; // defined in mplayer.c
#include "alaw.c"
#include "xa/xa_gsm.h"
+#include "loader/DirectShow/DS_AudioDec.h"
+
static sh_audio_t* ac3_audio_sh=NULL;
// AC3 decoder buffer callback:
@@ -39,6 +41,9 @@ int init_audio(sh_audio_t *sh_audio){
int driver=sh_audio->codec->driver;
+extern int init_acm_audio_codec(sh_audio_t *sh_audio);
+extern int acm_decode_audio(sh_audio_t *sh_audio, void* a_buffer,int len);
+
sh_audio->samplesize=2;
sh_audio->samplerate=0;
//sh_audio->pcm_bswap=0;