view libmpcodecs/ae_toolame.h @ 29183:edd77b4f699b

Change getdladdr to always use dlopen, dlsym and then dlclose. Performance is not really important and dlsym(0, ...) is not defined while the more correct dlsym(RTLD_DEFAULT, ...) is a GNUism (although POSIX does reserve RTLD_DEFAULT).
author reimar
date Thu, 23 Apr 2009 10:18:32 +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 */