Hitting Play on an empty track causes seeker to remain locked until user presses "Stop"
Bug #78020 reported by
Jean-Francois Arseneau
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jokosher |
Confirmed
|
High
|
Unassigned |
Bug Description
If you press "Play" before importing an audio file, the seeker remains stuck at the start, no matter if you import a file afterwards and press "Play" many times
Steps to Reproduce:
1. Start Jokosher and open a project
2. Add an instrument
3. Press "Play"
4. Press "Play" again to depress it
5. Import an audio file
6. Press "Play"
Expected Result:
When pressing "Play" a second time, it should act the same way then stop does and release the seeker
System Information,
Software:
Ubuntu Edgy (6.10)
Recent build of GStreamer from CVS
Jokosher r1120
Hardware:
Asus A7N8X Deluxe
2 soundcards, onboard NVidia nForce2 soundcard (main one), Ensoniq AudioPCI (secondary)
Changed in jokosher: | |
status: | New → Invalid |
Changed in jokosher: | |
importance: | High → Undecided |
Changed in jokosher: | |
importance: | Undecided → High |
To post a comment you must log in.
The reason it doesn't play after depressing play and pressing it again it because depressing play only pauses the pipeline. If you hit stop and then play again after importing something it will work fine. Why it doesn't play when nothing is imported is explained below:
This might be a gnonlin thing, but for some reason, when hitting play when no instruments the pipeline returns STATE_CHANGE_ASYNC which means it is planning to change the state to STATE_PLAYING on its own time, without making us wait. It never completes the state changed however. This is odd because there is still the click track which should send audio out to the speakers, so its not stuck waiting for data. Also, this only fails when all of the instruments have no audio on them. If there is one instrument with audio, and many others without audio, it will work fine.
I'll try my best to figure this one out people.