Menu

#19 cannot stop player when paused

1.0
closed
None
2016-08-23
2016-08-23
Shuqi Dai
No

commit [r527]
[Description] Player could not be stopped in 'paused' mode.
Reason: We used 'playing' variable to observe whether the player was playing or not, and process stop procedure only if the player was playing, which could not tell the situation of 'paused' (sound but not playing).
[Solution]
add 'isidle' variable in conductor/src/player.srp to observe whether player is sounding or not,
modify ‘isidle’ when player state changes in midi_player/src/mp_ui.srp and midi_player.srp

Related

Commit: [r527]

Discussion


Log in to post a comment.

MongoDB Logo MongoDB