Ignore:
Timestamp:
Apr 4, 2016 1:44:10 AM (8 years ago)
Author:
riza
Message:

Re #1908: Implement new API to open speaker only in pjsua/pjsua2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/media.hpp

    r5165 r5273  
    768768    /** 
    769769     * Select or change capture sound device. Application may call this 
    770      * function at any time to replace current sound device. 
     770     * function at any time to replace current sound device. Calling this  
     771     * method will not change the state of the sound device (opened/closed). 
     772     * Note that this method will override the mode set by setSndDevMode(). 
    771773     * 
    772774     * @param capture_dev       Device ID of the capture device. 
     
    776778    /** 
    777779     * Select or change playback sound device. Application may call this 
    778      * function at any time to replace current sound device. 
     780     * function at any time to replace current sound device. Calling this  
     781     * method will not change the state of the sound device (opened/closed). 
     782     * Note that this method will override the mode set by setSndDevMode(). 
    779783     * 
    780784     * @param playback_dev      Device ID of the playback device. 
     
    806810     */ 
    807811    MediaPort *setNoDev(); 
     812 
     813    /** 
     814     * Set sound device mode. 
     815     *  
     816     * @param mode              The sound device mode, as bitmask combination  
     817     *                          of #pjsua_snd_dev_mode 
     818     * 
     819     */ 
     820    void setSndDevMode(unsigned mode) const throw(Error); 
    808821 
    809822    /** 
Note: See TracChangeset for help on using the changeset viewer.