Skip to content

Commit ebb2693

Browse files
committed
Simply add 192khz to the supported list of probed rates for InitRecording and InitPlayout
1 parent cb35174 commit ebb2693

File tree

3 files changed

+25
-509
lines changed

3 files changed

+25
-509
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/modules/audio_device/win/audio_device_core_win.cc b/modules/audio_device/win/audio_device_core_win.cc
2+
index f1cc0474fc..34eeaacc39 100644
3+
--- a/modules/audio_device/win/audio_device_core_win.cc
4+
+++ b/modules/audio_device/win/audio_device_core_win.cc
5+
@@ -1881,7 +1881,7 @@ int32_t AudioDeviceWindowsCore::InitPlayout() {
6+
Wfx.wBitsPerSample = 16;
7+
Wfx.cbSize = 0;
8+
9+
- const int freqs[] = {48000, 44100, 16000, 96000, 32000, 8000};
10+
+ const int freqs[] = {48000, 44100, 16000, 96000, 32000, 8000, 192000};
11+
hr = S_FALSE;
12+
13+
// Iterate over frequencies and channels, in order of priority
14+
@@ -2201,7 +2201,7 @@ int32_t AudioDeviceWindowsCore::InitRecording() {
15+
Wfx.Samples.wValidBitsPerSample = Wfx.Format.wBitsPerSample;
16+
Wfx.SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
17+
18+
- const int freqs[6] = {48000, 44100, 16000, 96000, 32000, 8000};
19+
+ const int freqs[] = {48000, 44100, 16000, 96000, 32000, 8000, 192000};
20+
hr = S_FALSE;
21+
22+
// Iterate over frequencies and channels, in order of priority

0 commit comments

Comments
 (0)