Extends max sample rate from 96kHz to 192kHz on the input side.
TEST=apprtc in Chrome using this WebRTC version and a device on Windows which can capture at 192kHz BUG=725 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/11009004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5828 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
790385fee4
commit
620d444c0b
@ -31,7 +31,7 @@ namespace voe {
|
|||||||
// Used for downmixing before resampling.
|
// Used for downmixing before resampling.
|
||||||
// TODO(ajm): audio_device should advertise the maximum sample rate it can
|
// TODO(ajm): audio_device should advertise the maximum sample rate it can
|
||||||
// provide.
|
// provide.
|
||||||
static const int kMaxMonoDeviceDataSizeSamples = 960; // 10 ms, 96 kHz, mono.
|
static const int kMaxMonoDeviceDataSizeSamples = 1920; // 10 ms, 192 kHz, mono.
|
||||||
|
|
||||||
// TODO(ajm): The thread safety of this is dubious...
|
// TODO(ajm): The thread safety of this is dubious...
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user