Changeset 5321 for pjproject


Ignore:
Timestamp:
May 26, 2016 4:51:07 AM (9 years ago)
Author:
nanang
Message:

Misc (re #1917): Missed inline implementation of pjmedia_snd_get_dev_count(), see also #1907 (thanks Marcus Froeschl for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/sound.h

    r5255 r5321  
    154154 * @return              Number of devices. 
    155155 */ 
    156 PJ_DECL(int) pjmedia_snd_get_dev_count(void); 
     156PJ_INLINE(int) pjmedia_snd_get_dev_count(void) 
     157{ 
     158    /* This function is inlined to avoid pjmedia's dependency on 
     159     * pjmedia-audiodev. 
     160     */ 
     161    return (int)pjmedia_aud_dev_count(); 
     162} 
    157163 
    158164 
Note: See TracChangeset for help on using the changeset viewer.