-
Notifications
You must be signed in to change notification settings - Fork 574
Closed
Labels
Description
Version
Media3 pre-release (alpha, beta or RC not in this list)
More version details
release-1.2.0-alpha01
Devices that reproduce the issue
Not device specific, so emulator, Pixel etc...
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Using demo app with MidiExtract and MidiRenderer
Open a MIDI file
Seek forward in the file, and all channels are reset to default program (usually Piano)
Seek backward in the file, and all channels are properly configured back.
I've put some logs, and it seems indeed, that when seeking forward, MidiDecoder reset the Synthesizer but never sends the PROGRAM CHANGES events, but does so when seeking backward.
Expected result
MIDI channels are properly configured back after seeking forward
Actual result
MIDI channels are reset to default program (Piano) after seeking forward
Media
Not applicable, any MIDI file should expose the issue