-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a track hasn't loaded a file the `m_transportSource` won't contain a source and thus crashes on some interactions (but not on others). Protect the calls by first checking whether an audio file was loaded. Also call the *playing state changed* callback since the caller assumes the change actually changed so it needs to be "reset" for the UI to match the actual behavior.
- Loading branch information
1 parent
ad10dab
commit ffc68ad
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters