aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/ae_toolame.h
blob: 06c8c35b8ecc5bac60dfb39a4dc0b8facfa556d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef AE_TOOLAME_H
#define AE_TOOLAME_H

#include "ae.h"
#include <toolame.h>

typedef struct {
	toolame_options *toolame_ctx;
	int channels, srate, bitrate;
	int vbr;
	int16_t left_pcm[1152], right_pcm[1152];
} mpae_toolame_ctx;

int mpae_init_toolame(audio_encoder_t *encoder);

#endif /* AE_TOOLAME_H */