FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
soxr_resample.c File Reference

audio resampling with soxr More...

#include "libavutil/log.h"
#include "swresample_internal.h"
#include <soxr.h>

Go to the source code of this file.

Functions

static struct ResampleContextcreate (struct ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, int kaiser_beta, double precision, int cheby)
 
static void destroy (struct ResampleContext **c)
 
static int flush (struct SwrContext *s)
 
static int process (struct ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed)
 
static int64_t get_delay (struct SwrContext *s, int64_t base)
 

Variables

struct Resampler const soxr_resampler
 

Detailed Description

audio resampling with soxr

Definition in file soxr_resample.c.

Function Documentation

static struct ResampleContext* create ( struct ResampleContext c,
int  out_rate,
int  in_rate,
int  filter_size,
int  phase_shift,
int  linear,
double  cutoff,
enum AVSampleFormat  format,
enum SwrFilterType  filter_type,
int  kaiser_beta,
double  precision,
int  cheby 
)
staticread

Definition at line 32 of file soxr_resample.c.

static void destroy ( struct ResampleContext **  c)
static

Definition at line 64 of file soxr_resample.c.

static int flush ( struct SwrContext s)
static

Definition at line 69 of file soxr_resample.c.

static int process ( struct ResampleContext c,
AudioData dst,
int  dst_size,
AudioData src,
int  src_size,
int *  consumed 
)
static

Definition at line 74 of file soxr_resample.c.

static int64_t get_delay ( struct SwrContext s,
int64_t  base 
)
static

Definition at line 85 of file soxr_resample.c.

Variable Documentation

struct Resampler const soxr_resampler
Initial value:

Definition at line 90 of file soxr_resample.c.

Referenced by swr_init().