mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 14:58:20 -05:00
audout: FlushAudioOutBuffers
Fixes Devil May Cry
This commit is contained in:
@ -51,6 +51,14 @@ void Stream::Stop() {
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
bool Stream::Flush() {
|
||||
const bool had_buffers = !queued_buffers.empty();
|
||||
while (!queued_buffers.empty()) {
|
||||
queued_buffers.pop();
|
||||
}
|
||||
return had_buffers;
|
||||
}
|
||||
|
||||
void Stream::SetVolume(float volume) {
|
||||
game_volume = volume;
|
||||
}
|
||||
|
Reference in New Issue
Block a user