decoder/Client: pass std::span to SubmitData()
This commit is contained in:
@@ -417,8 +417,8 @@ dsdiff_decode_chunk(DecoderClient &client, InputStream &is,
|
||||
if (lsbitfirst)
|
||||
bit_reverse_buffer(buffer, buffer + nbytes);
|
||||
|
||||
cmd = client.SubmitData(is, buffer, nbytes,
|
||||
kbit_rate);
|
||||
cmd = client.SubmitAudio(is, std::span{buffer, nbytes},
|
||||
kbit_rate);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user