Changeset 321 for pjproject/trunk/pjmedia/src/pjmedia/nullsound.c
- Timestamp:
- Mar 16, 2006 6:52:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/nullsound.c
r320 r321 22 22 #if defined(PJMEDIA_HAS_NULL_SOUND) && PJMEDIA_HAS_NULL_SOUND!=0 23 23 24 static pj _snd_dev_info null_info =24 static pjmedia_snd_dev_info null_info = 25 25 { 26 26 "Null Device", … … 31 31 32 32 33 PJ_DEF(pj_status_t) pj _snd_init(pj_pool_factory *factory)33 PJ_DEF(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory) 34 34 { 35 35 PJ_UNUSED_ARG(factory); … … 37 37 } 38 38 39 PJ_DEF(int) pj _snd_get_dev_count(void)39 PJ_DEF(int) pjmedia_snd_get_dev_count(void) 40 40 { 41 41 return 1; 42 42 } 43 43 44 PJ_DEF(const pj _snd_dev_info*) pj_snd_get_dev_info(unsigned index)44 PJ_DEF(const pjmedia_snd_dev_info*) pjmedia_snd_get_dev_info(unsigned index) 45 45 { 46 46 PJ_ASSERT_RETURN(index==0, NULL); … … 48 48 } 49 49 50 PJ_DEF(pj_status_t) pj _snd_open_recorder( int index,50 PJ_DEF(pj_status_t) pjmedia_snd_open_recorder( int index, 51 51 unsigned clock_rate, 52 52 unsigned channel_count, 53 53 unsigned samples_per_frame, 54 54 unsigned bits_per_sample, 55 pj _snd_rec_cb rec_cb,55 pjmedia_snd_rec_cb rec_cb, 56 56 void *user_data, 57 pj _snd_stream **p_snd_strm)57 pjmedia_snd_stream **p_snd_strm) 58 58 { 59 59 PJ_UNUSED_ARG(index); … … 70 70 } 71 71 72 PJ_DEF(pj_status_t) pj _snd_open_player( int index,72 PJ_DEF(pj_status_t) pjmedia_snd_open_player( int index, 73 73 unsigned clock_rate, 74 74 unsigned channel_count, 75 75 unsigned samples_per_frame, 76 76 unsigned bits_per_sample, 77 pj _snd_play_cb play_cb,77 pjmedia_snd_play_cb play_cb, 78 78 void *user_data, 79 pj _snd_stream **p_snd_strm )79 pjmedia_snd_stream **p_snd_strm ) 80 80 { 81 81 PJ_UNUSED_ARG(index); … … 92 92 } 93 93 94 PJ_DEF(pj_status_t) pj _snd_stream_start(pj_snd_stream *stream)94 PJ_DEF(pj_status_t) pjmedia_snd_stream_start(pjmedia_snd_stream *stream) 95 95 { 96 96 PJ_UNUSED_ARG(stream); … … 98 98 } 99 99 100 PJ_DEF(pj_status_t) pj _snd_stream_stop(pj_snd_stream *stream)100 PJ_DEF(pj_status_t) pjmedia_snd_stream_stop(pjmedia_snd_stream *stream) 101 101 { 102 102 PJ_UNUSED_ARG(stream); … … 104 104 } 105 105 106 PJ_DEF(pj_status_t) pj _snd_stream_close(pj_snd_stream *stream)106 PJ_DEF(pj_status_t) pjmedia_snd_stream_close(pjmedia_snd_stream *stream) 107 107 { 108 108 PJ_UNUSED_ARG(stream); … … 110 110 } 111 111 112 PJ_DEF(pj_status_t) pj _snd_deinit(void)112 PJ_DEF(pj_status_t) pjmedia_snd_deinit(void) 113 113 { 114 114 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.