0
0

We have been seeing an intermittent problem where our mono sounds (played back using 3D channels) are only being heard through the left stereo output. We have no idea what is causing this problem. It went away for a long time and now it’s back.

We are using version 4.36.04 (15/09/11) of FMOD Ex. Does anyone know what the problem might be? Any help would be greatly appreciated, this is driving me crazy! Our initialization and sound loading output is shown below:

[code:3e7rl8me]
MOD: SystemI::init : FMOD Ex Version: 00043604
FMOD: SystemI::init : maxchannels = 100, flags = 00000010, extradriverdata = 0x0
FMOD: SystemI::close :
FMOD: SystemI::close : Stop all sounds
FMOD: SystemI::close : Shut down output.
FMOD: OutputCoreAudio::stop : Cannot stop audio unit. (err: -50)
FMOD: OutputCoreAudio::close : Closing...
FMOD: OutputCoreAudio::shutdownAudio : Cannot uninitialize audio unit. (err: -50)
FMOD: SystemI::close : Remove miscllaneous DSP stuff.
FMOD: SystemI::close : done.

FMOD: OutputCoreAudio::init : Initializing...
FMOD: OutputCoreAudio::init : Forcing output format to an acceptable value: PCM16.
FMOD: OutputCoreAudio::prepareAudioSession : Setting override to force output through main speaker while recording.
FMOD: OutputCoreAudio::prepareAudioSession : Setting override to force mixing when usually not permitted.
FMOD: OutputCoreAudio::init : Maximum hardware read size: 4096 samples, Software buffer size: 1024 samples, Number of software buffers: 4.
FMOD: OutputCoreAudio::init : Hardware buffer size: 1024 samples, hardware sample rate: 48000Hz.
FMOD: OutputCoreAudio::init : Done.
FMOD: SystemI::init : Set up software engine
FMOD: Thread::initThread : Initializing FMOD mixer thread. priority 1
FMOD: Thread::initThread : – Stacksize 49152. Stack pointer 0x0 : usesemaphore = 1 : sleeptime = 0
FMOD: Thread::callback : * FMOD mixer thread 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 49152. Stack pointer 0x0 : usesemaphore = 0 : sleeptime = 10
FMOD: Thread::callback : * FMOD stream thread started
FMOD: Thread::initThread : done.
FMOD: SystemI::init : done
[/code:3e7rl8me]

[code:3e7rl8me]
FMOD: SystemI::createSoundInternal : filename = ./DrumsTribal.wav : mode 000000b0
FMOD: SystemI::createSoundInternal : 17 codecs found. Scan all until one succeeds
FMOD: CodecTag::openInternal : attempting to open ID3 or ASF tags..
FMOD: Codec::release :
FMOD: Plugin::release : (0x2f7028)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: CodecFSB::openInternal : attempting to open as FSB..
FMOD: CodecFSB::openInternal : Header check failed. Not an FSB
FMOD: Codec::release :
FMOD: CodecFSB::closeInternal :
FMOD: CodecFSB::closeInternal : done
FMOD: Plugin::release : (0x2f7148)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: CodecWav::openInternal : attempting to open as WAV..
FMOD: CodecWav::parseRIFF : chunk : id fmt size 16
FMOD: CodecWav::parseRIFF : offset = 28 / 384910
FMOD: CodecWav::parseRIFF : chunk : id data size 384874
FMOD: CodecWav::parseRIFF : offset = 384910 / 384910
FMOD: CodecWav::openInternal : mSrcFormat->wFormatTag = 1
FMOD: CodecWav::openInternal : mSrcFormat->nChannels = 1
FMOD: CodecWav::openInternal : mSrcFormat->nSamplesPerSec = 44100
FMOD: CodecWav::openInternal : mSrcFormat->nAvgBytesPerSec = 88200
FMOD: CodecWav::openInternal : mSrcFormat->nBlockAlign = 2
FMOD: CodecWav::openInternal : mSrcFormat->wBitsPerSample = 16
FMOD: CodecWav::openInternal : mSrcFormat->cbSize = 0
FMOD: SystemI::createSoundInternal : Format has 0 subsounds.
FMOD: SystemI::createSoundInternal : Create as FMOD_CREATESTREAM
FMOD: System::createSoundInternal : decode buffersize = 17408 : blocksize = 256 : format = 2
FMOD: SystemI::createSample : mode 000000d2 length 17408 samples, lengthbytes 384874
FMOD: SystemI::createSample : subsamples = 1, channels = 1
FMOD: SystemI::createSample : subsample 0. output = 0x2ba7e8
FMOD: SystemI::createSample : mSoftware = 0x2ba7e8
FMOD: OutputSoftware::createSample : lengthpcm 17408, lengthbytes 384874, channels 1, format 2, mode 000000d2
FMOD: OutputSoftware::createSample : done
FMOD: SystemI::createSample : done
FMOD: System::createSoundInternal : Seek stream to start
FMOD: System::createSoundInternal : flush stream buffer
FMOD: System::createSoundInternal : flush successful.
FMOD: System::createSoundInternal : switch file handle from small blocking single buffered to large nonblocking doublebuffered.
FMOD: SystemI::createSoundInternal : No name found in file, use filename.
FMOD: SystemI::createSoundInternal : done. OpenState now = FMOD_OPENSTATE_READY.
[/code:3e7rl8me]

  • You must to post comments
0
0

Could you provide some example code demonstrating the problem?

  • You must to post comments
0
0

I will try to post some code soon, but the problem has been very intermittent, so I doubt I will be able to to provide something that reliably reproduces the problem.

I removed the FMOD_3d flag from the CreateSound call and the problem is still occurring. Now I am seeing the error "Not enough memory or resources on console sound ram". This seems like a hint as to what is going wrong. I’m only trying to stream a single, short, mono wav file though.

  • You must to post comments
0
0

Nevermind, this error is output when I try to call 3d commands on the 2d sound. Seems like this should output FMOD_ERR_NEEDS3D instead of FMOD_ERR_MEMORY_SRAM.

  • You must to post comments
0
0

it does return that value – have you possibly mixed an old header with the newer library of fmod?

  • You must to post comments
0
0

Ah, I’m sorry. I was using a slightly newer binary for some reason.

  • You must to post comments
0
0

And updating the binary has fixed the playback problem :) . Sorry, we should have figured that mismatch out.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.