From 619b79bd806297e45ca46c1305fe771eaa157fad Mon Sep 17 00:00:00 2001 From: Vektor Date: Thu, 26 Oct 2023 00:07:12 +0200 Subject: [PATCH] experimental opus encoder change --- src/COpusEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/COpusEncoder.cpp b/src/COpusEncoder.cpp index dfecfb4..4f3dcbb 100644 --- a/src/COpusEncoder.cpp +++ b/src/COpusEncoder.cpp @@ -5,7 +5,7 @@ COpusEncoder::COpusEncoder(int sampleRate, int channels, int bitRate) { int opusErr; - encoder = opus_encoder_create(sampleRate, channels, OPUS_APPLICATION_VOIP, &opusErr); + encoder = opus_encoder_create(sampleRate, channels, OPUS_APPLICATION_AUDIO, &opusErr); if (opusErr != OPUS_OK || encoder == nullptr) throw CVoiceException(AltVoiceError::OpusEncoderCreateError);