Jump to content
  • Advertisement
Sign in to follow this  
gorgorath

[java] ogg encoding

This topic is 4724 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For a small java game i'm writing some tools for the sound and coz i dón't want to re-invent the wheel, i'm wondering if there is a api( preferable with source) can encode .ogg files ? cheers, Paul

Share this post


Link to post
Share on other sites
Advertisement
this is an decoder, what i'm looking for is an encoder that creates a new .ogg file from say a .wav file.

cheers,

Paul

Share this post


Link to post
Share on other sites
Yeah, I'm not sure if the conversion is absolutely complete

StaticCodeBook has a method called "pack" which takes in a buffer... but I dunno. To be honest I've never tried encoding using jorbis.

I've seen platform invoke versions that provide a java wrapper for the unmanaged c build of orbis.

If you don't want to reinvent the wheel, I'd suggest using the freebie encoders already out there. The tools after all do not have to be in Java, as long as your Java game can use the ogg files it should not need to know or care how it was encoded.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!