From b7b7e78614180d4782c647f7960d6b501ffdf44e Mon Sep 17 00:00:00 2001 From: TonyChyi Date: Tue, 27 Sep 2022 14:45:18 +0800 Subject: [PATCH] opus didnt support 44.1kHz --- servers/qemuserver/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/qemuserver/server.go b/servers/qemuserver/server.go index a4ae5f3..e854e78 100644 --- a/servers/qemuserver/server.go +++ b/servers/qemuserver/server.go @@ -21,7 +21,7 @@ var waveHeader = &audiodriver.WavHeader{ Size: waveHeaderSize, AudioFormat: 1, NumChannels: 2, - SampleRate: 44100, + SampleRate: 48000, // opus only support 48kHz BlockAlign: 4, BitsPerSample: 16, }