Changeset 3400 for pjproject/trunk
- Timestamp:
- Dec 19, 2010 5:14:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c
r3398 r3400 98 98 struct stream_list list_entry; 99 99 100 pjmedia_aud_rec_cb rec_cb; 101 pjmedia_aud_play_cb play_cb; 100 pjmedia_aud_rec_cb rec_cb; /**< Capture callback. */ 101 pjmedia_aud_play_cb play_cb; /**< Playback callback. */ 102 102 void *user_data; /**< Application data. */ 103 103 … … 298 298 "Error: cannot initialize audio session services (%i)", 299 299 ostatus)); 300 return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus);301 300 } 302 301 … … 310 309 "Error: cannot set the audio session category (%i)", 311 310 ostatus)); 312 return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus);313 311 } 314 312 … … 321 319 "Error: cannot listen for audio route change " 322 320 "notifications (%i)", ostatus)); 323 return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus);324 321 } 325 322 #endif … … 918 915 &stream->play_thread); 919 916 stream->play_thread_initialized = 1; 920 PJ_LOG(5,(THIS_FILE, "Player thread started, (%i frames)", inNumberFrames)); 917 PJ_LOG(5,(THIS_FILE, "Player thread started, (%i frames)", 918 inNumberFrames)); 921 919 } 922 920 … … 1957 1955 #if !COREAUDIO_MAC 1958 1956 if (should_activate) 1959 1957 AudioSessionSetActive(true); 1960 1958 #endif 1961 1959
Note: See TracChangeset
for help on using the changeset viewer.