• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Java Audio Clips on Pi

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Staff note (Ron McLeod) :

Related post: Platform Dependent Jar Path Problem

 
reply
    Bookmark Topic Watch Topic
  • New Topic