1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00
mpv/libmpcodecs/ae_toolame.h
nicodvb 91413c4747 encoding to mp2 with libtoolame - only cbr atm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13426 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-21 19:43:37 +00:00

16 lines
383 B
C

#ifndef MPAE_TOOLAME_H
#define MPAE_TOOLAME_H
#include <toolame.h>
typedef struct {
toolame_options *toolame_ctx;
int channels, srate, bitrate;
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);
#endif