view libmpcodecs/ae_toolame.h @ 27522:1462a44ea6b9

Use preprocessor conditionals to disable CPU-extension-specific code. We cannot rely on libmpeg2's internal CPU extension handling, it leads to link failures with our build system. Fixes Bugzilla #1188.
author diego
date Tue, 09 Sep 2008 10:56:51 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

#ifndef MPLAYER_AE_TOOLAME_H
#define MPLAYER_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 /* MPLAYER_AE_TOOLAME_H */