Changeset 532
- Timestamp:
- Jun 22, 2006 12:34:27 AM (18 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/build/pjmedia.dsp
r518 r532 124 124 # Begin Source File 125 125 126 SOURCE=..\src\pjmedia\mem_capture.c 127 # End Source File 128 # Begin Source File 129 130 SOURCE=..\src\pjmedia\mem_player.c 131 # End Source File 132 # Begin Source File 133 126 134 SOURCE=..\src\pjmedia\null_port.c 127 135 # End Source File … … 249 257 250 258 SOURCE=..\include\pjmedia\master_port.h 259 # End Source File 260 # Begin Source File 261 262 SOURCE=..\include\pjmedia\mem_port.h 251 263 # End Source File 252 264 # Begin Source File -
pjproject/trunk/pjmedia/include/pjmedia/wav_port.h
r531 r532 63 63 * negative, the port will use default buffer size (which 64 64 * is about 4KB). 65 * @param user_data User data to be associated with the file player port.66 65 * @param p_port Pointer to receive the file port instance. 67 66 * … … 73 72 unsigned flags, 74 73 pj_ssize_t buff_size, 75 void *user_data,76 74 pjmedia_port **p_port ); 77 75 … … 107 105 * 108 106 * @param port The file player port. 109 * @param user_data User data to be specified in the callback. Note that 110 * this overwrites the user data previously set when 111 * the file port is created. 107 * @param user_data User data to be specified in the callback 112 108 * @param cb Callback to be called. If the callback returns non- 113 109 * PJ_SUCCESS, the playback will stop. Note that if … … 152 148 * zero or negative, the port will use default buffer 153 149 * size (which is about 4KB). 154 * @param user_data User data to be associated with the file port. 155 * @param p_port Pointer to receive the file port instance. 150 * @param p_port Pointer to receive the file port instance. 156 151 * 157 152 * @return PJ_SUCCESS on success. … … 165 160 unsigned flags, 166 161 pj_ssize_t buff_size, 167 void *user_data,168 162 pjmedia_port **p_port ); 169 163 … … 190 184 * @param port The file writer port. 191 185 * @param pos The file position on which the callback will be called. 192 * @param user_data User data to be specified in the callback. Note that 193 * this overwrites the user data previously set when 194 * the file port is created. 186 * @param user_data User data to be specified in the callback, and will be 187 * given on the callback. 195 188 * @param cb Callback to be called. If the callback returns non- 196 189 * PJ_SUCCESS, the writing will stop. Note that if -
pjproject/trunk/pjmedia/src/pjmedia/wav_player.c
r531 r532 195 195 unsigned options, 196 196 pj_ssize_t buff_size, 197 void *user_data,198 197 pjmedia_port **p_port ) 199 198 { … … 294 293 295 294 /* Initialize */ 296 fport->base.user_data = user_data;297 295 fport->options = options; 298 296 -
pjproject/trunk/pjmedia/src/pjmedia/wav_writer.c
r531 r532 65 65 unsigned flags, 66 66 pj_ssize_t buff_size, 67 void *user_data,68 67 pjmedia_port **p_port ) 69 68 { … … 74 73 75 74 PJ_UNUSED_ARG(flags); 76 PJ_UNUSED_ARG(user_data);77 75 78 76 /* Check arguments. */
Note: See TracChangeset
for help on using the changeset viewer.