view libmpcodecs/ae_twolame.h @ 20899:c00d8c1aa0ab

Replace sleep time calculation in main() with a separate function. Fixes some problems with playback_speed!=1: sleep limits which were supposed to be real time were calculated in scaled time, timing inaccuracies in nosound mode affected next frame by err*(1-1/playback_speed), auto quality code used scaled time.
author uau
date Tue, 14 Nov 2006 09:29:03 +0000
parents af245d15f502
children 3baf6a2283da
line wrap: on
line source

#ifndef MPAE_TWOLAME_H
#define MPAE_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