WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

resample.h File Reference

Sample rate converter. More...

Typedefs

typedef struct pjmedia_resample pjmedia_resample
 

Enumerations

enum  pjmedia_resample_port_options {
  PJMEDIA_RESAMPLE_USE_LINEAR = 1 ,
  PJMEDIA_RESAMPLE_USE_SMALL_FILTER = 2 ,
  PJMEDIA_RESAMPLE_DONT_DESTROY_DN = 4
}
 

Functions

pj_status_t pjmedia_resample_create (pj_pool_t *pool, pj_bool_t high_quality, pj_bool_t large_filter, unsigned channel_count, unsigned rate_in, unsigned rate_out, unsigned samples_per_frame, pjmedia_resample **p_resample)
 
void pjmedia_resample_run (pjmedia_resample *resample, const pj_int16_t *input, pj_int16_t *output)
 
unsigned pjmedia_resample_get_input_size (pjmedia_resample *resample)
 
void pjmedia_resample_destroy (pjmedia_resample *resample)
 
pj_status_t pjmedia_resample_port_create (pj_pool_t *pool, pjmedia_port *dn_port, unsigned clock_rate, unsigned options, pjmedia_port **p_port)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.