summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ae_toolame.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ae_toolame.h')
-rw-r--r--libmpcodecs/ae_toolame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ae_toolame.h b/libmpcodecs/ae_toolame.h
index fea0c5a117..082dde093b 100644
--- a/libmpcodecs/ae_toolame.h
+++ b/libmpcodecs/ae_toolame.h
@@ -1,6 +1,7 @@
#ifndef MPAE_TOOLAME_H
#define MPAE_TOOLAME_H
+#include "ae.h"
#include <toolame.h>
typedef struct {
@@ -9,7 +10,6 @@ typedef struct {
int16_t left_pcm[1152], right_pcm[1152];
} mpae_toolame_ctx;
-mpae_toolame_ctx *mpae_init_toolame(int channels, int srate);
-int mpae_encode_toolame(mpae_toolame_ctx *ctx, uint8_t *dest, int nsamples, void *src, int max_size);
+int mpae_init_toolame(audio_encoder_t *encoder);
#endif