Skip to content

Commit

Permalink
experimental opus encoder change
Browse files Browse the repository at this point in the history
  • Loading branch information
martonp96 committed Oct 25, 2023
1 parent 227976f commit 619b79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/COpusEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 619b79b

Please sign in to comment.