decoder/Client: pass std::span to SubmitData()
This commit is contained in:
@@ -216,7 +216,7 @@ gme_file_decode(DecoderClient &client, Path path_fs)
|
||||
return;
|
||||
}
|
||||
|
||||
cmd = client.SubmitData(nullptr, buf, sizeof(buf), 0);
|
||||
cmd = client.SubmitAudio(nullptr, std::span{buf}, 0);
|
||||
if (cmd == DecoderCommand::SEEK) {
|
||||
unsigned where = client.GetSeekTime().ToMS();
|
||||
gme_err = gme_seek(emu, where);
|
||||
|
Reference in New Issue
Block a user