Skip to content

Commit

Permalink
Sampling rate change specific to AoW
Browse files Browse the repository at this point in the history
changed from 48k to 44.1k
  • Loading branch information
gkdeepa committed Aug 4, 2022
1 parent 1289815 commit 3211eae
Showing 1 changed file with 31 additions and 0 deletions.
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

0 comments on commit 3211eae

Please sign in to comment.