[java] ogg encoding
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
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
cheers,
Paul
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement