mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 21:05:06 +01:00
Fix identifier release check in AudioTrack::Stop
This commit is contained in:
parent
d9c8e62d1c
commit
b00008daf5
@ -19,7 +19,7 @@ namespace skyline::audio {
|
||||
void AudioTrack::Stop() {
|
||||
auto allSamplesReleased{[&]() {
|
||||
std::scoped_lock lock{bufferLock};
|
||||
return identifiers.empty() || identifiers.end()->released;
|
||||
return identifiers.empty() || identifiers.back().released;
|
||||
}};
|
||||
|
||||
while (!allSamplesReleased());
|
||||
|
Loading…
Reference in New Issue
Block a user