Answered
0
0

Hi,

I’m trying to build a bank. I’m importing two sound files with the .wav format. I’m choosing the encoding format to be FSBANK_FORMAT_MP3.
But I’m getting the “FSBANK_ERR_ENCODER_FILE_NOTFOUND” error as the output of the
“FSBank_Build” method.
the only format I can choose to avoid getting that error is FSBANK_FORMAT_PCM which is not useful for me since I need to choose a compressed format.
I also tried to import files with .mp3 extension but I still have the same problem. I remember that I was able to do that before but this time I’m getting this error continuously.

Any help would be really appreciated as It’s really blocking me.

Here is the excat command I’m using:
lResult = FSBank_Build(subSounds, 4, FSBANK_FORMAT_MP3, FSBANK_BUILD_DEFAULT | FSBANK_BUILD_DONTLOOP, 0, NULL, OutputFileName);

Thank you.

  • You must to post comments
Best Answer
1
0

FSBANK_ERR_ENCODER_FILE_NOTFOUND means the DLL for that particular encoder cannot be found. In the case of MP3 you need libmp3lame (or libmp3lame64 for 64bit).

These files are included with the FSBankLib API, please make sure they are sitting next to the encoder library fsbank.dll to ensure they can be found at runtime.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.