diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-07 16:01:41 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-07 16:01:41 +0000 |
commit | 0c4b2974931a0f030c81647c65058fd22108495b (patch) | |
tree | 5461e272d2f4cdf39935d7277c56b654dd848f32 /pjmedia/include | |
parent | ca07a9833149d270d1e5b44cfa381ac6ac03e39c (diff) |
Changed resample to use speex (for now)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1171 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/resample.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/resample.h b/pjmedia/include/pjmedia/resample.h index 4f17d8d2..8aad5087 100644 --- a/pjmedia/include/pjmedia/resample.h +++ b/pjmedia/include/pjmedia/resample.h @@ -66,6 +66,7 @@ typedef struct pjmedia_resample pjmedia_resample; * used, at the expense of more CPU and memory, * because temporary buffer needs to be created. * @param large_filter If true, large filter size will be used. + * @param channel_count Number of channels. * @param rate_in Clock rate of the input samples. * @param rate_out Clock rate of the output samples. * @param samples_per_frame Number of samples per frame in the input. @@ -76,6 +77,7 @@ typedef struct pjmedia_resample pjmedia_resample; PJ_DECL(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, @@ -107,6 +109,13 @@ PJ_DECL(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample); /** + * Destroy the resample. + * + * @param resample The resample session. + */ +PJ_DECL(void) pjmedia_resample_destroy(pjmedia_resample *resample); + +/** * @} */ |