0
0

Hello,

I keep going back and forth trying to get my mono project on linux working. This is compiled on windows then setup to use fmod’s linux libraries (if this is the wrong approach for a c# app let me know). There’s a few differences when compiling out between windows and linux’ (for example the unicode flag is off)

It initializes fine / loads the library, but I get ERR_FILE_BAD when loading an OGG (as the last error). (This is with .35 release)

This is my OGG: http://www.megafileupload.com/en/file/5 … e-ogg.html

Is the file actually bad? Is there some option I need to set when building an ogg out so it works on linux? (I didnt think so, but i’m not sure at this point)

Here’s the output when running with L64 library version:

[code:3q2sxdyr]

FMOD: SystemI::init : FMOD Ex Version: 00044435
FMOD: SystemI::init : maxchannels = 16, flags = 00000000, extradriverdata = (nil)
FMOD: SystemI::close :
FMOD: SystemI::close : Stop all sounds
FMOD: SystemI::close : Remove miscllaneous DSP stuff.
FMOD: SystemI::close : done.

FMOD: OutputPulseAudio::registerLib : Loading libpulse.so
FMOD: OutputPulseAudio::registerLib : Getting symbols
FMOD: OutputPulseAudio::registerLib : Retrieved symbols
FMOD: OutputPulseAudio::enumerate : Enumerating...
FMOD: OutputPulseAudio::enumOutput : Found output driver: [1] ‘Built-in Audio Analog Stereo’ (alsa_output.pci-0000_00_1b.0.analog-stereo).
FMOD: OutputPulseAudio::enumInput : Found input driver: [1] ‘Monitor of Built-in Audio Analog Stereo’ (alsa_output.pci-0000_00_1b.0.analog-stereo.monitor).
FMOD: OutputPulseAudio::enumInput : Found input driver: [2] ‘Built-in Audio Analog Stereo’ (alsa_input.pci-0000_00_1b.0.analog-stereo).
FMOD: OutputPulseAudio::enumerate : Done.
FMOD: OutputPulseAudio::init : Initializing.
FMOD: OutputPulseAudio::init : Playback latency is 0us.
FMOD: OutputPulseAudio::init : Initialized.
FMOD: SystemI::init : Set up software engine
FMOD: Thread::initThread : Initializing FMOD PulseAudio Mixer. priority 1
FMOD: Thread::initThread : – Stacksize 49152. Stack pointer (nil) : usesemaphore = 0 : sleeptime = 0
FMOD: Thread::callback : * FMOD PulseAudio Mixer started
FMOD: Thread::initThread : done.
FMOD: SystemI::init : Set up emulated output
FMOD: SystemI::init : create the channel pool
FMOD: SystemI::init : Set up streamer
FMOD: Thread::initThread : Initializing FMOD stream thread. priority 2
FMOD: Thread::initThread : – Stacksize 65536. Stack pointer (nil) : usesemaphore = 0 : sleeptime = 10
FMOD: Thread::callback : * FMOD stream thread started
FMOD: Thread::initThread : done.
FMOD: SystemI::init : done

FMOD: SystemI::createSoundInternal : filename = / : mode 00000000
FMOD: SystemI::createSoundInternal : 20 codecs found. Scan all until one succeeds
FMOD: CodecTag::openInternal : attempting to open ID3 or ASF tags..
FMOD: Codec::release :
FMOD: Plugin::release : (0x1d34a08)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: CodecCDDA::openInternal : attempting to open as CDDA..
FMOD: Codec::release :
FMOD: Plugin::release : (0x1d13ac8)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: CodecFSB5::openInternal : attempting to open as FSB5..
FMOD: Codec::release :
FMOD: CodecFSB5::closeInternal :
FMOD: CodecFSB5::closeInternal : done
FMOD: Plugin::release : (0x1d24208)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: System::createSoundInternal : Fatal error (19) scanning the codecs. (ie not FMOD_ERR_FORMAT or FMOD_ERR_FILE_EOF)
eLVL_CRITICAL 2:33 PM eCAT_MESound oLoadAndStreamFile : ERR_FILE_BAD

[/code:3q2sxdyr]

Anyone have an idea of what I could try to get it working? Thanks!

  • You must to post comments
0
0

Based on this output:
FMOD: SystemI::createSoundInternal : filename = / : mode 00000000

It looks like you are passing a wide char filename to createSound, you’ll need to change the encoding to Ansi for the DLL import for this to work on platforms other than Windows.

  • You must to post comments
0
0

Thank you, I’ll give that a shot and respond when able. Thanks!

  • You must to post comments
0
0

Success!!! Thanks :).

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.