extmidi: Do not continuously retry if execvp fails

See: #478
This commit is contained in:
Jonathan G Rennison
2023-01-24 23:55:11 +00:00
parent 80f0250de6
commit 66166bad48
4 changed files with 21 additions and 3 deletions

View File

@@ -40,6 +40,12 @@ public:
*/
virtual void SetVolume(byte vol) = 0;
/**
* Is playback in a failed state?
* @return True if playback is in a failed state.
*/
virtual bool IsInFailedState() { return false; }
/**
* Get the currently active instance of the music driver.
*/