Ignore:
Timestamp:
Feb 22, 2009 12:00:12 PM (14 years ago)
Author:
bennylp
Message:
  • New convention about default audio device ID (now there is different ID for default capture/playback device. It should be backward compatible)
  • Fixed crash if sound port is unable to open sound device
  • Testing with the switchboard
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia-audiodev/pa_dev.c

    r2468 r2469  
    534534        param->dir = PJMEDIA_DIR_CAPTURE; 
    535535        param->rec_id = index; 
    536         param->play_id = PJMEDIA_AUD_DEV_DEFAULT; 
     536        param->play_id = PJMEDIA_AUD_INVALID_DEV; 
    537537    } else if (adi.output_count) { 
    538538        param->dir = PJMEDIA_DIR_PLAYBACK; 
    539539        param->play_id = index; 
    540         param->rec_id = PJMEDIA_AUD_DEV_DEFAULT; 
     540        param->rec_id = PJMEDIA_AUD_INVALID_DEV; 
    541541    } else { 
    542542        return PJMEDIA_EAUD_INVDEV; 
Note: See TracChangeset for help on using the changeset viewer.