audio_core: Use s16 where possible for audio samples.

This commit is contained in:
bunnei 2018-08-04 00:03:12 -04:00
parent f1cb3903ac
commit 1dee8ceda1
9 changed files with 27 additions and 36 deletions

View file

@ -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)));
}