decoder/Client: pass std::span to SubmitData()
This commit is contained in:
@@ -179,7 +179,7 @@ fluidsynth_file_decode(DecoderClient &client, Path path_fs)
|
||||
if (ret != 0)
|
||||
break;
|
||||
|
||||
cmd = client.SubmitData(nullptr, buffer, sizeof(buffer), 0);
|
||||
cmd = client.SubmitAudio(nullptr, std::span{buffer}, 0);
|
||||
if (cmd != DecoderCommand::NONE)
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user