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/src/pjsua2/media.cpp

    r5955 r5956  
    10951095    param.base.rec_id = recDev; 
    10961096    param.base.clock_rate = master_info.clock_rate; 
    1097     param.base.channel_count = master_info.channel_count; 
    1098     param.base.samples_per_frame = master_info.samples_per_frame; 
     1097    param.base.channel_count = 1; 
     1098    param.base.samples_per_frame = master_info.samples_per_frame / 
     1099                                   master_info.channel_count; 
    10991100    param.base.bits_per_sample = master_info.bits_per_sample; 
    11001101 
Note: See TracChangeset for help on using the changeset viewer.