chore: clean up implicit conversions (#4611)

This commit is contained in:
Andy Grundman 2026-01-22 14:39:52 -05:00 committed by GitHub
commit aea9512682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 66 additions and 66 deletions

View file

@ -114,7 +114,7 @@ namespace audio {
while (auto sample = samples->pop()) {
buffer_t packet {1400};
int bytes = opus_multistream_encode_float(opus.get(), sample->data(), frame_size, std::begin(packet), packet.size());
int bytes = opus_multistream_encode_float(opus.get(), sample->data(), frame_size, std::begin(packet), (opus_int32) packet.size());
if (bytes < 0) {
BOOST_LOG(error) << "Couldn't encode audio: "sv << opus_strerror(bytes);
packets->stop();