Ignore:
Timestamp:
Mar 21, 2019 8:46:13 AM (6 years ago)
Author:
nanang
Message:

Misc (re #2147): Add info and checks about Extra Audio Device supporting mono channel only.

File:
1 edited

Legend:

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

    r5923 r5956  
    14011401/** 
    14021402 * Extra audio device. This class allows application to have multiple 
    1403  * sound device instances active concurrently. Application may also use 
    1404  * this class to improve media clock. Normally media clock is driven by 
    1405  * sound device in master port, but unfortunately some sound devices may 
    1406  * produce jittery clock. To improve media clock, application can install 
    1407  * Null Sound Device (i.e: using AudDevManager::setNullDev()), which will 
    1408  * act as a master port, and install the sound device as extra sound device. 
     1403 * sound device instances active concurrently. 
     1404  
     1405 * Application may also use this class to improve media clock. Normally 
     1406 * media clock is driven by sound device in master port, but unfortunately 
     1407 * some sound devices may produce jittery clock. To improve media clock, 
     1408 * application can install Null Sound Device (i.e: using 
     1409 * AudDevManager::setNullDev()), which will act as a master port, and 
     1410 * install the sound device as extra sound device. 
     1411 * 
    14091412 * Note that extra sound device will not have auto-close upon idle feature. 
     1413 * Also note that the extra sound device only supports mono channel. 
    14101414 */ 
    14111415class ExtraAudioDevice : public AudioMedia 
     
    14261430 
    14271431    /** 
    1428      * Open the audio device using format (e.g.: clock rate, channel count, 
    1429      * samples per frame) matched to the conference bridge's format. 
     1432     * Open the audio device using format (e.g.: clock rate, bit per sample, 
     1433     * samples per frame) matched to the conference bridge's format, except 
     1434     * the channel count, which will be set to one (mono channel). 
    14301435     */ 
    14311436    void open(); 
Note: See TracChangeset for help on using the changeset viewer.