Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't stop music played if the next music choosed cant be read #41

Open
LittleWhite-tb opened this issue Apr 21, 2016 · 3 comments
Open

Comments

@LittleWhite-tb
Copy link

Hello,

If ChipMachine is playing a particular file and the user select a new file, the music will be stopped even if the new file can't be played.
In such case (unable to play the new song), I expect that the current song will continue to play.

@sasq64
Copy link
Owner

sasq64 commented Apr 21, 2016

This could work for some plugins, but many plugins are based on emulators that are not written to be reentrant and allow multiple versions to run simultaneously. But if I know before hand that it wont work I can avoid running the plugin...

@jpyper
Copy link

jpyper commented Apr 27, 2016

Is there a way to test the following song before loading it into the main routine to play it? I would make some kind of sub routine that would grab the next tune file, test it to make sure it is playable, if successful break the current playing tune to start the new one. If the new one fails the test, just display the unplayable notification and keep the current tune playing.

It makes sense in my head, but implementing it might be a while other bucket of worms.

@sasq64
Copy link
Owner

sasq64 commented Apr 28, 2016

Like I tried to explain in my earlier comment, this i not possible for many plugins. UADE for instance, is based on the UAE amiga emulator and has lots of global variables, and so you can only have a single instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants