pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

resample.h File Reference


Detailed Description


Typedefs

typedef typedefPJ_BEGIN_DECL
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
(C)2003-2008 Benny Prijono