Skip to content

Commit

Permalink
oops silly me bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Nov 22, 2023
1 parent 2390205 commit 113fc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/audio_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const std::array<EncodedOpusData, EncodedAudioFrame::VOICE_OPUS_FRAMES_IN_AUDIO_
void EncodedAudioFrame::encode(ByteBuffer& buf) const {
GLOBED_REQUIRE(
frameCount == VOICE_OPUS_FRAMES_IN_AUDIO_FRAME,
fmt::format("tried to encode an EncodedAudioFrame with {} frames when {} is needed", VOICE_OPUS_FRAMES_IN_AUDIO_FRAME)
fmt::format("tried to encode an EncodedAudioFrame with {} frames when {} is needed", frameCount, VOICE_OPUS_FRAMES_IN_AUDIO_FRAME)
)

buf.writeValueArray(frames);
Expand Down

0 comments on commit 113fc37

Please sign in to comment.