mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-12 02:58:59 +02:00
audio_core: Use s16 where possible for audio samples.
This commit is contained in:
parent
f1cb3903ac
commit
1dee8ceda1
9 changed files with 27 additions and 36 deletions
|
|
@ -51,7 +51,7 @@ void AudioOut::StopStream(StreamPtr stream) {
|
|||
stream->Stop();
|
||||
}
|
||||
|
||||
bool AudioOut::QueueBuffer(StreamPtr stream, Buffer::Tag tag, std::vector<u8>&& data) {
|
||||
bool AudioOut::QueueBuffer(StreamPtr stream, Buffer::Tag tag, std::vector<s16>&& data) {
|
||||
return stream->QueueBuffer(std::make_shared<Buffer>(tag, std::move(data)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue