Ignore:
Timestamp:
Feb 22, 2009 12:00:12 PM (15 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/wmme_dev.c

    r2468 r2469  
    414414        param->dir = PJMEDIA_DIR_CAPTURE; 
    415415        param->rec_id = index; 
    416         param->play_id = PJMEDIA_AUD_DEV_DEFAULT; 
     416        param->play_id = PJMEDIA_AUD_INVALID_DEV; 
    417417    } else if (di->info.output_count) { 
    418418        param->dir = PJMEDIA_DIR_PLAYBACK; 
    419419        param->play_id = index; 
    420         param->rec_id = PJMEDIA_AUD_DEV_DEFAULT; 
     420        param->rec_id = PJMEDIA_AUD_INVALID_DEV; 
    421421    } else { 
    422422        return PJMEDIA_EAUD_INVDEV; 
Note: See TracChangeset for help on using the changeset viewer.