Changeset 2275 for pjproject/trunk
- Timestamp:
- Sep 11, 2008 5:38:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/wav_port.h
r2270 r2275 52 52 53 53 /** 54 * Create a media port to play streams from a WAV file. 54 * Create a media port to play streams from a WAV file. WAV player port 55 * supports for reading WAV file with uncompressed 16 bit PCM format or 56 * compressed G.711 A-law/U-law format. 55 57 * 56 58 * @param pool Pool to create memory buffers for this port. … … 169 171 * must be closed properly (with #pjmedia_port_destroy()) so that the WAV 170 172 * header can be filled with correct values (such as the file length). 173 * WAV writer port supports for writing audio in uncompressed 16 bit PCM format 174 * or compressed G.711 U-law/A-law format, this needs to be specified in 175 * \a flags param. 171 176 * 172 177 * @param pool Pool to create memory buffers for this port. … … 176 181 * @param samples_per_frame Number of samples per frame. 177 182 * @param bits_per_sample Number of bits per sample (eg 16). 178 * @param flags Port creation flags. 183 * @param flags Port creation flags, see 184 * #pjmedia_file_writer_option. 179 185 * @param buff_size Buffer size to be allocated. If the value is 180 186 * zero or negative, the port will use default buffer 181 187 * size (which is about 4KB). 182 188 * @param p_port Pointer to receive the file port instance. 183 189 * 184 190 * @return PJ_SUCCESS on success.
Note: See TracChangeset
for help on using the changeset viewer.