Changeset 1339
- Timestamp:
- Jun 5, 2007 11:54:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/wav_playlist.c
r1266 r1339 153 153 if (fport->current_file == fport->max_file) 154 154 { 155 /* Clear the remaining part of the buffer first, to prevent 156 * old samples from being played. If the playback restarts, 157 * this will be overwritten by new reading. 158 */ 159 if (size_left > 0) { 160 pj_bzero(&fport->buf[fport->bufsize-size_left], 161 size_left); 162 } 163 155 164 /* All files have been played. Call callback, if any. */ 156 165 if (fport->cb)
Note: See TracChangeset
for help on using the changeset viewer.