summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ae_toolame.h
blob: 30000a05ba969f4da330880f4338876c8204b0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MPAE_TOOLAME_H
#define MPAE_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