view libmpcodecs/ae_twolame.h @ 29507:fc8416cffdcd

Use a buffer of about half a second, instead of sizing it to have a constant number of frames. This improves the behaviour at very small or large sample rates, and gets rid of lots of obsolete code.
author cladisch
date Mon, 24 Aug 2009 07:32:25 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

#ifndef MPLAYER_AE_TWOLAME_H
#define MPLAYER_AE_TWOLAME_H

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

typedef struct {
	twolame_options *twolame_ctx;
	int vbr;
} mpae_twolame_ctx;

int mpae_init_twolame(audio_encoder_t *encoder);

#endif /* MPLAYER_AE_TWOLAME_H */