/*
 * $Id: encode.h,v 1.1.1.1 2001/06/17 01:37:51 ptimof Exp $
 *
 * Copyright (c) 2001 Peter Timofejew. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef AUDIO_MPEG_ENCODE_H
#define AUDIO_MPEG_ENCODE_H

#include <lame/lame.h>
#include "audio.h"

struct audio_mpeg_encode {
	lame_t					*flags;
	unsigned int			encode_delay_applied;
};

typedef struct audio_mpeg_encode * Audio_MPEG_Encode;

int encode_new(Audio_MPEG_Encode);
void encode_DESTROY(Audio_MPEG_Encode);
unsigned int lame_encode_buffer_interleaved_float(lame_t *, float *,
	unsigned int, unsigned char *, unsigned int);

#endif
