-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sampling rate change specific to AoW
changed from 48k to 44.1k
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...r/intel/external/project-celadon/audio/0001-virtual-box-expects-sampling-freq-44.1k.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 525427e5c972f6a853f7421c3bffc4ba52153266 Mon Sep 17 00:00:00 2001 | ||
From: celadon <[email protected]> | ||
Date: Thu, 4 Aug 2022 05:17:43 +0000 | ||
Subject: [PATCH] virtual box expects sampling freq 44.1k | ||
|
||
--- | ||
primary/audio_hw.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/primary/audio_hw.c b/primary/audio_hw.c | ||
index e4394c5..6e022d5 100755 | ||
--- a/primary/audio_hw.c | ||
+++ b/primary/audio_hw.c | ||
@@ -52,12 +52,12 @@ | ||
|
||
#define OUT_PERIOD_SIZE 1024 | ||
#define OUT_PERIOD_COUNT 4 | ||
-#define OUT_SAMPLING_RATE 48000 | ||
+#define OUT_SAMPLING_RATE 44100 | ||
|
||
#define IN_PERIOD_SIZE 1024 //default period size | ||
#define IN_PERIOD_MS 10 | ||
#define IN_PERIOD_COUNT 4 | ||
-#define IN_SAMPLING_RATE 48000 | ||
+#define IN_SAMPLING_RATE 44100 | ||
|
||
#define AUDIO_PARAMETER_HFP_ENABLE "hfp_enable" | ||
#define AUDIO_PARAMETER_BT_SCO "BT_SCO" | ||
-- | ||
2.33.1 | ||
|