This is not really a Java question but I am trying to find someone with experience writing Java for a Pi that plays clips. I have determined that the default mixer (0) does not work so I had to select a different one (1).
Here is how I play clips:
This all works but only for a while. At some point when the app tries to play a clip (which it has before during the same run) I get an error telling me the mixer is not supported. The error is obviously dumb because the mixer worked for a while and only occurs on a Pi. Other *NIX work fine. If I end and restart the application then it will work again for a while. I have verified that it is always using the same mixer before and when it fails. Again this does not seem like a Java problem but rather a Pi problem but I don't know what to do to debug or fix it. Unfortunately there does not seem to be much Java expertise on the Pi forum that can help. TIA.