Fix missing music and audio cues

Merged
PR
2mo ago
+190-184

The port was treating Marmalade's logical audio channels as one global music stream. Starting another track replaced the previous channel and caused several music and audio cues to disappear.

This restores the two independent logical channels used by the game and keeps their playback state separate.

Addresses #20


Summary by cubic

Fixes missing music and audio cues by restoring the two independent logical audio channels that Marmalade expects. Previously, the port treated audio as a single stream, so playing a new track replaced the previous one and caused cues to disappear. Addresses #20.

  • Restores independent playback state for each logical audio channel.
  • Switches stream playback from the music API to the mixer's channel API.
  • Updates tests to cover two simultaneous audio streams and per-channel stop/callback behavior.