Changeset 814 for pjproject/trunk


Ignore:
Timestamp:
Nov 21, 2006 12:31:11 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug caused by recent sound device ID convention change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/dsound.c

    r744 r814  
    683683PJ_DEF(const pjmedia_snd_dev_info*) pjmedia_snd_get_dev_info(unsigned index) 
    684684{ 
     685    if (index == (unsigned)-1)  
     686        index = 0; 
     687 
    685688    PJ_ASSERT_RETURN(index < dev_count, NULL); 
    686689 
Note: See TracChangeset for help on using the changeset viewer.