diff --git a/app/src/main/cpp/skyline/audio/track.cpp b/app/src/main/cpp/skyline/audio/track.cpp index 30142a9e..f9c03c4f 100644 --- a/app/src/main/cpp/skyline/audio/track.cpp +++ b/app/src/main/cpp/skyline/audio/track.cpp @@ -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());