PB 6.21 b10 x86 MIDI file problem
Posted: Sun Jun 08, 2025 2:32 pm
The following code works with PB 6.20, but not with the latest PB 6.21 Beta:
In PB 6.21 it runs into "Failed to load MIDI"
MIDI file to test:
https://www.von-der-salierburg.de/downl ... /Morse.mid
Code: Select all
InitMovie()
Filename$ = OpenFileRequester("Choose a MIDI file", "", "MIDI|*.mid", 0)
If Filename$
Movie = LoadMovie(#PB_Any, Filename$)
If Movie
PlayMovie(Movie, #Null)
Delay(250)
While MovieStatus(Movie) > 0
Delay(10)
Wend
FreeMovie(Movie)
Else
Debug "Failed to load MIDI"
EndIf
EndIf
MIDI file to test:
https://www.von-der-salierburg.de/downl ... /Morse.mid