Changeset 6112 for pjproject/trunk/pjmedia/include/pjmedia/wav_playlist.h
- Timestamp:
- Nov 29, 2019 4:21:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/wav_playlist.h
r3553 r6112 73 73 74 74 75 #if !DEPRECATED_FOR_TICKET_2251 75 76 /** 76 77 * Register a callback to be called when the file reading has reached the … … 93 94 pj_status_t (*cb)(pjmedia_port *port, 94 95 void *usr_data)); 96 #endif 97 98 99 /** 100 * Register a callback to be called when the file reading has reached the 101 * end of file of the last file. If the file is set to play repeatedly, 102 * then the callback will be called multiple times. Note that only one 103 * callback can be registered for each file port. 104 * 105 * @param port The WAV play list port. 106 * @param user_data User data to be specified in the callback 107 * @param cb Callback to be called. Note that if 108 * application wishes to stop the playback, it 109 * can disconnect the port in the callback, and 110 * only after all connections have been removed 111 * could the application safely destroy the port. 112 * 113 * @return PJ_SUCCESS on success. 114 */ 115 PJ_DECL(pj_status_t) 116 pjmedia_wav_playlist_set_eof_cb2(pjmedia_port *port, 117 void *user_data, 118 void (*cb)(pjmedia_port *port, 119 void *usr_data)); 95 120 96 121
Note: See TracChangeset
for help on using the changeset viewer.