beautypg.com

Mp3 - lame, 12 mp3 - lame, 1 detailed description – Google Flix Engine Linux Reference Manual User Manual

Page 45: Defines, Typedefs, Enumerations

background image

5.12 MP3 - LAME

39

5.12

MP3 - LAME

5.12.1

Detailed Description

The LAME codec is used to produce MP3 audio streams.

Example Usage:

sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_LAME);

// Use 128kbit

if(sc == ON2_OK)

sc = Flix2_CodecSetParam(codec, FE2_LAME_BITRATE, Bitrate128kbps);

Additional References:

LAME project homepage

Defines

• #define

FE2_CODEC_LAME

Codec name for use with

Flix2_AddCodec()

.

• #define

FE2_LAME_BITRATE

Alias for

FE2_CODECPARAM_BITRATE

.

• #define

FE2_LAME_QUALITY

Codec parameter for controlling LAME library’s algorithm selection.

• #define

FE2_LAME_RC_MODE

Codec parameter for controlling LAME library’s rate control method.

• #define

FE2_LAME_CHANNELS

Codec parameter for number of output channels.

Typedefs

• typedef enum

lame_rcmode lame_rcmode_t

Rate control modes analogous to those found in

.

Enumerations

• enum

lame_rcmode

{

LAME_CBR

,

LAME_ABR

,

LAME_VBR_rh

,

LAME_VBR_mtrh

}

Rate control modes analogous to those found in

.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen