Changeset 631 for pjproject/trunk/pjmedia/include/pjmedia/splitcomb.h
- Timestamp:
- Jul 27, 2006 10:03:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/splitcomb.h
r531 r631 25 25 * @brief Media channel splitter/combiner port. 26 26 */ 27 #include <pjmedia/ types.h>27 #include <pjmedia/port.h> 28 28 29 29 … … 35 35 * This section describes media port to split and combine media 36 36 * channels in the stream. 37 * 38 * A splitter/combiner splits a single stereo/multichannels audio frame into 39 * multiple audio frames to each channel when put_frame() is called, 40 * and combines mono frames from each channel into a stereo/multichannel 41 * frame when get_frame() is called. A common application for the splitter/ 42 * combiner is to split frames from stereo to mono and vise versa. 37 43 */ 38 44 … … 42 48 /** 43 49 * Create a media splitter/combiner with the specified parameters. 44 * A splitter/combiner splits a single stereo/multichannel audio frame into45 * multiple mono audio frames to each channel when put_frame() is called,46 * and combines mono frames from each channel into a stereo/multichannel47 * frame when get_frame() is called.48 *49 50 * When the splitter/combiner is created, it creates an instance of 50 51 * pjmedia_port. This media port represents the stereo/multichannel side … … 80 81 * 81 82 * @param splitcomb The splitter/combiner. 82 * @param ch_num Audio channel number. 83 * @param options Valid options are: 84 * - PJMEDIA_SPLITCOMB_AUTO_DESTROY to destroy the 85 * media port when the splitter is destroyed. 83 * @param ch_num Audio channel starting number (zero based). 84 * @param options Must be zero at the moment. 86 85 * @param port The media port. 87 86 * … … 108 107 * buffers. 109 108 * @param splitcomb The splitter/combiner. 110 * @param ch_num Audio channel number. 111 * @param options Valid options are: 112 * - PJMEDIA_SPLITCOMB_AUTO_DESTROY to destroy the 113 * media port when the splitter is destroyed. 109 * @param ch_num Audio channel starting number (zero based). 110 * @param options Normally is zero, but the lower 8-bit of the 111 * options can be used to specify the number of 112 * buffers in the circular buffer. If zero, then 113 * default number will be used (default: 8). 114 114 * @param p_chport The media port created with reverse phase for 115 115 * the specified audio channel.
Note: See TracChangeset
for help on using the changeset viewer.