beautypg.com

Resample, 33 resample, Fe2_filter_resample – Google Flix Engine Linux Reference Manual User Manual

Page 148: Fe2_resample_rate, Also, 1 detailed description, Defines, 2 define documentation

background image

142

Flix Engine Linux Module Documentation

5.33

Resample

5.33.1

Detailed Description

Filter Parameters:

Name

|

Type

| Opt/Reqd |

Range

============================================================================

FE2_RESAMPLE_RATE

| Numeric

| Optional | [8000,192000]Hz

FE2_RESAMPLE_CHANNELS

| Numeric

| Optional | [1,2]

Usage notes:

• FLV/SWF files are limited to sample rates of

Hertz11025

,

Hertz22050

and

Hertz44100

.

Example Usage:

sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_RESAMPLE);

// Resample to 22050Hz

if(sc == ON2_OK)

sc = Flix2_FilterSetParam(filter, FE2_RESAMPLE_RATE, Hertz22050);

Defines

• #define

FE2_FILTER_RESAMPLE

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_RESAMPLE_RATE

Desired sample rate in Hertz (Hz).

• #define

FE2_RESAMPLE_CHANNELS

Filter parameter for channels.

5.33.2

Define Documentation

5.33.2.1

#define FE2_FILTER_RESAMPLE

Filter name for use with

Flix2_AddFilter()

.

Definition at line 50 of file resample.h.

5.33.2.2

#define FE2_RESAMPLE_CHANNELS

Filter parameter for channels.

Definition at line 58 of file resample.h.

5.33.2.3

#define FE2_RESAMPLE_RATE

Desired sample rate in Hertz (Hz).

Definition at line 54 of file resample.h.

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