view libmpcodecs/ae_toolame.h @ 24884:17c6e0a372f4

Simplify audio buffer allocation logic Remove code that set sh_audio->a_out_buffer to equal sh_audio->a_buffer between the calls to init_best_audio_codec and init_audio_filters. Nothing uses the buffer between those calls.
author uau
date Thu, 01 Nov 2007 06:51:44 +0000
parents 92772475ed8d
children 3baf6a2283da
line wrap: on
line source

#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