view libmpcodecs/ae_toolame.h @ 25886:feb0f4e3c81f

Fix r25817 to not always destroy codec_tag, this broke playback of e.g. ape files.
author reimar
date Tue, 29 Jan 2008 19:05:36 +0000
parents 246221f7ba2e
children 4129c8cfa742
line wrap: on
line source

#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 */