Logo Search packages:      
Sourcecode: blender version File versions  Download package

mp3lameaudio.c File Reference


Detailed Description

Interface to libmp3lame for mp3 encoding.

Definition in file mp3lameaudio.c.

#include "avcodec.h"
#include "mpegaudio.h"
#include <lame/lame.h>

Go to the source code of this file.

Classes

struct  Mp3AudioContext

Defines

#define BUFFER_SIZE   (2*MPA_FRAME_SIZE)

Functions

int MP3lame_encode_close (AVCodecContext *avctx)
int MP3lame_encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data)
static int MP3lame_encode_init (AVCodecContext *avctx)
static int mp3len (void *data, int *samplesPerFrame, int *sampleRate)

Variables

AVCodec mp3lame_encoder
static const int sBitRates [2][3][15]
static const int sBitsPerSlot [3]
static const int sSampleRates [3]
static const int sSamplesPerFrame [2][3]


Generated by  Doxygen 1.6.0   Back to index