summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-06-27 16:18:13 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-06-27 16:18:13 +0000
commitcc9f73832038bdab140af1818635f15a391f3398 (patch)
treec5e14fbff6d3c3f1c9f97fc25ba19d56da96123c /pjmedia/include
parent41171475ee587b18522664d5db1cdb2b7604d0f4 (diff)
Ticket #543:
- Fixed bug of calculating clock interval which should include channel count - Added L16 codecs including stereo - Added WAV files for stereo tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2075 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/clock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pjmedia/include/pjmedia/clock.h b/pjmedia/include/pjmedia/clock.h
index 30d98f84..abe43144 100644
--- a/pjmedia/include/pjmedia/clock.h
+++ b/pjmedia/include/pjmedia/clock.h
@@ -121,9 +121,10 @@ typedef void pjmedia_clock_callback(const pj_timestamp *ts,
*
* @param pool Pool to allocate memory.
* @param clock_rate Number of samples per second.
+ * @param channel_count Number of channel.
* @param samples_per_frame Number of samples per frame. This argument
- * along with clock_rate, specifies the interval
- * of each clock run (or clock ticks).
+ * along with clock_rate and channel_count, specifies
+ * the interval of each clock run (or clock ticks).
* @param options Bitmask of pjmedia_clock_options.
* @param cb Callback to be called for each clock tick.
* @param user_data User data, which will be passed to the callback.
@@ -134,6 +135,7 @@ typedef void pjmedia_clock_callback(const pj_timestamp *ts,
*/
PJ_DECL(pj_status_t) pjmedia_clock_create( pj_pool_t *pool,
unsigned clock_rate,
+ unsigned channel_count,
unsigned samples_per_frame,
unsigned options,
pjmedia_clock_callback *cb,