view libmpcodecs/ae_toolame.h @ 20359:4795f0a7fb62

IPv6 tests for the presence of AF_INET6 but not struct sockaddr_in6. Glibc 2.0 has AF_INET6 but doesn't have sockaddr_in6. Disable IPv6 in such cases. taken from a patch by Mikulas Patocka, mikulas (at) artax karlin mff cuni cz
author diego
date Sun, 22 Oct 2006 14:51:17 +0000
parents 92772475ed8d
children 3baf6a2283da
line wrap: on
line source

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