AM2R-Community-Developers / AM2R-Community-Updates

Source code for AM2R 1.5.2+, free of copyrighted assets and trademarks.
https://www.reddit.com/r/AM2R/
Other
141 stars 27 forks source link

Item room theme does not restart properly #1

Closed Lojemiru closed 3 years ago

Lojemiru commented 3 years ago

Problem: If moving quickly enough between two item rooms with musItemAmb2.ogg present, the item room theme will resume from where it left off.

Intended behavior: The item room theme should fully restart when entering a new item room.

Proposed solution: Investigate how the music loop is faded out and when it actually stops playback.

Example: None provided

Notes: I would assume a call to end the theme after reaching the lowest volume is not occurring, but rather that it is simply silenced and has looping disabled - if you enter another item room quickly enough it will not have hit the end of the loop yet.