Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do you play multiple sounds simultaneously and synchronized?  RSS feed

 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
what's the best way to keep multiple audio file streams in sync? I've been trying playing each sound in it's own thread for the past few days and using thread synchronization, but that isn't working so well.
in java sound api they mentioned the Mixer class with a synchronize method.but i couldn't find any example showing this feature after goggling for 2 days.
any ideas ?

thanks for the help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!