Hi there,
I would like to say that LAMEOnJ is fantastic, however the LAME encoder on its own doesn't support the mu-law format.
When i try converting this, i get the following error:
Exception in thread "main" com.innowhere.jnieasy.core.JNIEasyException: Not foun
d method: get_lame_version, native library: lame_enc.dll
at com.innowhere.jnieasy.core.impl.dll.b.addDLLBehavior(SourceFile:195)
at com.innowhere.jnieasy.core.impl.dll.b.addDLLMethod(SourceFile:235)
at com.innowhere.jnieasy.core.impl.rt.classdesc.l.d(SourceFile:60)
at com.innowhere.jnieasy.core.impl.rt.classdesc.aa.getNativeBehavior(Sou
rceFile:120)
at com.innowhere.jnieasy.core.impl.rt.classdesc.s.b(SourceFile:339)
at com.innowhere.jnieasy.core.impl.enhancer.rt.NativeMultipleFieldContai
nerEnhancerImpl.getNativeBehavior(SourceFile:122)
at com.innowhere.lame.std.Lame.get_lame_version(Lame.java)
at test.com.innowhere.lameonj.TestStdAPI.testPlainAPI(TestStdAPI.java:58
)
at test.com.innowhere.lameonj.Test.main(Test.java:67)
=======================================================
=======================================================
Now i know this is an issue with LAME itself, as when i ran a LAME version compiled with libsndfile found here:
http://rarewares.org/mp3-lame-bundle.php#lame-beta
I ran the lame.exe in the zip file, it allowed the conversion process.
I tried replacing the lame_enc.dll with the above edited LAME (libsndfile-1.dll [obviously renaming it to lame_enc.dll]) which goes in:
LAMEOnJ\bin\win32x86\
However, LAMEOnJ didn't like this either, so i was wondering whether you could include this "libsndfile" support for more formats in the next release of your already fantastic LAMEOnJ?
Thanks.
Logged In: YES
user_id=2059898
Originator: NO
My mistake, the error above, is when i ran the LAMEOnJ with Lame 3.98 beta 7, which is expected.
The issue i was describing above gave me the following error:
===================================================================================
Exception in thread "main" java.lang.RuntimeException: WAV stream is compressed
at com.innowhere.lameonj.impl.std.StreamEncoderWAVImpl.parseHeader(Strea
mEncoderWAVImpl.java:96)
at com.innowhere.lameonj.impl.std.StreamEncoderImpl.<init>(StreamEncoder
Impl.java:61)
at com.innowhere.lameonj.impl.std.StreamEncoderImpl.<init>(StreamEncoder
Impl.java:49)
at com.innowhere.lameonj.impl.std.StreamEncoderWAVImpl.<init>(StreamEnco
derWAVImpl.java:43)
at com.innowhere.lameonj.impl.std.LAMEOnJStdImpl.createStreamEncoder(LAM
EOnJStdImpl.java:46)
at test.com.innowhere.lameonj.TestStdAPI.testOOPAPIStreamEncoder(TestStd
API.java:168)
at test.com.innowhere.lameonj.Test.main(Test.java:68)
===================================================================================
Sorry for the mix up.
Regards,
Hung.