Ignore:
Timestamp:
Jan 13, 2011 4:42:21 PM (11 years ago)
Author:
ming
Message:

Fix #1195: assertion during thread registration in coreaudio and portaudio's input/output callbacks on Mac OS X and #1196: using system's default audio input/output device instead of first available device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/pa_dev.c

    r3058 r3404  
    186186    if (stream->rec_thread_initialized == 0 || !pj_thread_is_registered())  
    187187    { 
     188        pj_bzero(stream->rec_thread_desc, sizeof(pj_thread_desc)); 
    188189        status = pj_thread_register("pa_rec", stream->rec_thread_desc,  
    189190                                    &stream->rec_thread); 
     
    298299    if (stream->play_thread_initialized == 0 || !pj_thread_is_registered())  
    299300    { 
     301        pj_bzero(stream->play_thread_desc, sizeof(pj_thread_desc)); 
    300302        status = pj_thread_register("portaudio", stream->play_thread_desc, 
    301303                                    &stream->play_thread); 
Note: See TracChangeset for help on using the changeset viewer.