ReSampleContext Struct Reference

Data Fields

struct AVResampleContextresample_context
short * temp [MAX_CHANNELS]
int temp_len
float ratio
int input_channels
int output_channels
int filter_channels
AVAudioConvertconvert_ctx [2]
enum AVSampleFormat sample_fmt [2]
 input and output sample format
unsigned sample_size [2]
 size of one sample in sample_fmt
short * buffer [2]
 buffers used for conversion to S16
unsigned buffer_size [2]
 sizes of allocated buffers

Detailed Description

Definition at line 46 of file resample.c.

Field Documentation

short* ReSampleContext::buffer[2]

buffers used for conversion to S16

Definition at line 56 of file resample.c.

Referenced by audio_resample(), and audio_resample_close().

unsigned ReSampleContext::buffer_size[2]

sizes of allocated buffers

Definition at line 57 of file resample.c.

Referenced by audio_resample().

AVAudioConvert* ReSampleContext::convert_ctx[2]

Definition at line 53 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

int ReSampleContext::filter_channels

Definition at line 52 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

int ReSampleContext::input_channels

Definition at line 52 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

int ReSampleContext::output_channels

Definition at line 52 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

float ReSampleContext::ratio

Definition at line 50 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

struct AVResampleContext* ReSampleContext::resample_context

Definition at line 47 of file resample.c.

Referenced by audio_resample(), audio_resample_close(), and av_audio_resample_init().

enum AVSampleFormat ReSampleContext::sample_fmt[2]

input and output sample format

Definition at line 54 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

unsigned ReSampleContext::sample_size[2]

size of one sample in sample_fmt

Definition at line 55 of file resample.c.

Referenced by audio_resample(), and av_audio_resample_init().

short* ReSampleContext::temp[MAX_CHANNELS]

Definition at line 48 of file resample.c.

Referenced by audio_resample(), and audio_resample_close().

int ReSampleContext::temp_len

Definition at line 49 of file resample.c.

Referenced by audio_resample().


The documentation for this struct was generated from the following file: