Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Jun 20, 2024
1 parent 2a93692 commit 235bd52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/message/pcm_chunk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ class PcmChunk : public WireChunk
// payloadSize = newSize;
// }

void setFrameCount(int frameCount) {
void setFrameCount(int frameCount)
{
auto newSize = format.frameSize() * frameCount;
payload = static_cast<char*>(realloc(payload, newSize));
payloadSize = newSize;
Expand Down

0 comments on commit 235bd52

Please sign in to comment.