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

wsola.h File Reference

Waveform Similarity Based Overlap-Add (WSOLA) More...

Typedefs

typedef struct pjmedia_wsola pjmedia_wsola
 

Enumerations

enum  pjmedia_wsola_option {
  PJMEDIA_WSOLA_NO_HANNING = 1 ,
  PJMEDIA_WSOLA_NO_PLC = 2 ,
  PJMEDIA_WSOLA_NO_DISCARD = 4 ,
  PJMEDIA_WSOLA_NO_FADING = 8
}
 

Functions

pj_status_t pjmedia_wsola_create (pj_pool_t *pool, unsigned clock_rate, unsigned samples_per_frame, unsigned channel_count, unsigned options, pjmedia_wsola **p_wsola)
 
pj_status_t pjmedia_wsola_set_max_expand (pjmedia_wsola *wsola, unsigned msec)
 
pj_status_t pjmedia_wsola_destroy (pjmedia_wsola *wsola)
 
pj_status_t pjmedia_wsola_reset (pjmedia_wsola *wsola, unsigned options)
 
pj_status_t pjmedia_wsola_save (pjmedia_wsola *wsola, pj_int16_t frm[], pj_bool_t prev_lost)
 
pj_status_t pjmedia_wsola_generate (pjmedia_wsola *wsola, pj_int16_t frm[])
 
pj_status_t pjmedia_wsola_discard (pjmedia_wsola *wsola, pj_int16_t buf1[], unsigned buf1_cnt, pj_int16_t buf2[], unsigned buf2_cnt, unsigned *erase_cnt)
 

 


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