[java] ogg encoding

Started by
2 comments, last by paulecoyote 18 years, 10 months ago
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
Cosmic Keys to my Creations & Times
Advertisement
http://www.jcraft.com/jorbis/



Signed, Paul
Anything posted is personal opinion which does not in anyway reflect or represent my employer. Any code and opinion is expressed “as is” and used at your own risk – it does not constitute a legal relationship of any kind.
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
Cosmic Keys to my Creations & Times
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.
Anything posted is personal opinion which does not in anyway reflect or represent my employer. Any code and opinion is expressed “as is” and used at your own risk – it does not constitute a legal relationship of any kind.

This topic is closed to new replies.

Advertisement