Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Feb 18, 2024
1 parent 12843c3 commit 295b865
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/src/node/io/output/soundio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ void write_callback(struct SoundIoOutStream *outstream, int frame_count_min, int
if (*ptr < -1.0)
*ptr = -1.0;
}
else if (outstream->format == SoundIoFormatS16LE)
else if (outstream->format == SoundIoFormatS16LE)
{
int16_t *ptr = reinterpret_cast<int16_t *>(areas[channel].ptr + areas[channel].step * frame);
*ptr = (int16_t) (output->out[channel][frame] * 32768.0f);
}
*ptr = (int16_t)(output->out[channel][frame] * 32768.0f);
}
}
}
}
Expand Down

0 comments on commit 295b865

Please sign in to comment.