Mercurial > mplayer.hg
comparison libmpcodecs/ae_toolame.h @ 13425:a87f1a948a24
encoding to mp2 with libtoolame - only cbr atm
author | nicodvb |
---|---|
date | Tue, 21 Sep 2004 19:43:37 +0000 |
parents | |
children | e84a6ae9d51e |
comparison
equal
deleted
inserted
replaced
13424:907cc2547357 | 13425:a87f1a948a24 |
---|---|
1 #ifndef MPAE_TOOLAME_H | |
2 #define MPAE_TOOLAME_H | |
3 | |
4 #include <toolame.h> | |
5 | |
6 typedef struct { | |
7 toolame_options *toolame_ctx; | |
8 int channels, srate, bitrate; | |
9 int16_t left_pcm[1152], right_pcm[1152]; | |
10 } mpae_toolame_ctx; | |
11 | |
12 mpae_toolame_ctx *mpae_init_toolame(int channels, int srate); | |
13 int mpae_encode_toolame(mpae_toolame_ctx *ctx, uint8_t *dest, int nsamples, void *src, int max_size); | |
14 | |
15 #endif |