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

Using ogg in javax.sound.sampled  RSS feed

 
keith meyer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I searched the API already, so my guess is this is going to be a `no` but I thought I'd try anyway.

Is it possible to use *.ogg files with javax.sound.sampled? Or in Java period?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haven't tried it myself, but this article suggests that it is possible.
 
keith meyer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks promising. I'll give it a shot and report back.
 
keith meyer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried it and it worked. I also found this, for future reference for anyone else.

http://www.jcraft.com/jorbis/
 
Bert Bates
author
Sheriff
Posts: 8945
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this also strikes me as an interesting, intermediate level topic
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!