Changeset 411 for pjproject/trunk/pjmedia/include/pjmedia/wav_port.h
- Timestamp:
- Apr 27, 2006 10:36:40 PM (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/wav_port.h
r409 r411 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #ifndef __PJMEDIA_ FILE_PORT_H__20 #define __PJMEDIA_ FILE_PORT_H__19 #ifndef __PJMEDIA_WAV_PORT_H__ 20 #define __PJMEDIA_WAV_PORT_H__ 21 21 22 22 /** 23 * @file file_port.h24 * @brief File player and recorder.23 * @file wav_port.h 24 * @brief WAV file player and writer. 25 25 */ 26 26 #include <pjmedia/port.h> … … 36 36 * @param pool Pool to create memory buffers for this port. 37 37 * @param filename File name to open. 38 * @param ptime The duration (in miliseconds) of each frame read 39 * from this port. If the value is zero, the default 40 * duration (20ms) will be used. 38 41 * @param flags Port creation flags. 39 42 * @param buf_size Buffer size to be allocated. If the value is zero or … … 45 48 * @return PJ_SUCCESS on success. 46 49 */ 47 PJ_DECL(pj_status_t) pjmedia_ file_player_port_create( pj_pool_t *pool,48 49 unsigned flags,50 pj_ssize_t buff_size,51 void *user_data,52 pjmedia_port **p_port );53 50 PJ_DECL(pj_status_t) pjmedia_wav_player_port_create( pj_pool_t *pool, 51 const char *filename, 52 unsigned ptime, 53 unsigned flags, 54 pj_ssize_t buff_size, 55 void *user_data, 56 pjmedia_port **p_port ); 54 57 55 58 … … 70 73 * @return PJ_SUCCESS on success. 71 74 */ 72 PJ_DECL(pj_status_t) pjmedia_ file_writer_port_create( pj_pool_t *pool,75 PJ_DECL(pj_status_t) pjmedia_wav_writer_port_create( pj_pool_t *pool, 73 76 const char *filename, 74 77 unsigned sampling_rate, … … 87 90 88 91 89 #endif /* __PJMEDIA_ FILE_PORT_H__ */92 #endif /* __PJMEDIA_WAV_PORT_H__ */
Note: See TracChangeset
for help on using the changeset viewer.