0
0

Hi I was playing with streaming.

I have a .fev,.fsb built for streaming.

My call to:

group->getEventByIndex(indices[depth-1],
EVENT_DEFAULT,
&event);

Never returns and the game hangs.

Any ideas?

  • You must to post comments
0
0

Log info:

FMOD: SystemI::createSoundInternal : filename = GAME:\data\sound\xenon\streamtest.fsb : mode 001800ca
FMOD: SystemI::createSoundInternal : exinfo->cbsize = 76
FMOD: SystemI::createSoundInternal : 17 codecs found. Scan all until one succeeds
FMOD: CodecFSB::openInternal : attempting to open as FSB..
FMOD: CodecFSB::openInternal : found FSB3
FMOD: CodecFSB::openInternal : FSB contains 6 sounds
FMOD: CodecXMA::openInternal : opened as wanting to decode to PCM
FMOD: CodecXMA::XMAinit : XMA decoder context created
FMOD: CodecFSB::openInternal : Subsound 0 : Mono_Voice_1.wav – length 229632 format 2.
FMOD: CodecFSB::openInternal : Subsound 1 : Mono_voice_2.wav – length 801920 format 2.
FMOD: CodecFSB::openInternal : Subsound 2 : Stereo_Music_2.wav – length 3949696 format 2.
FMOD: CodecFSB::openInternal : Subsound 3 : 5.1_Test_1.wav – length 960384 format 2.
FMOD: CodecFSB::openInternal : Subsound 4 : 5.1_Test_2.wav – length 2882816 format 2.
FMOD: CodecFSB::openInternal : Subsound 5 : Stereo_Music_1.wav – length 8329856 format 2.
FMOD: CodecFSB::openInternal : done.
FMOD: SystemI::createSoundInternal : Format has 6 subsounds.
FMOD: SystemI::createSoundInternal : Create as FMOD_CREATESTREAM
FMOD: System::createSoundInternal : decode buffersize = 19110 : blocksize = 273
FMOD: SystemI::createSample : mode 000000ca length 19110 samples, lengthbytes 63488
FMOD: SystemI::createSample : subsamples = 1, channels = 6
FMOD: SystemI::createSample : subsample 0. output = E9CF8090
FMOD: SystemI::createSample : mSoftware = E9CF8090
FMOD: OutputSoftware::createSample : lengthpcm 19110, lengthbytes 63488, channels 6, format 2, mode 000000ca
FMOD: OutputSoftware::createSample : done
FMOD: SystemI::createSample : done
FMOD: CodecFSB::setPositionInternal : subsound 0 position 0 postype 2
FMOD: CodecFSB::setPositionInternal : done
FMOD: CodecFSB::setPositionInternal : subsound 1 position 0 postype 2
FMOD: CodecFSB::setPositionInternal : done
FMOD: CodecFSB::setPositionInternal : subsound 2 position 0 postype 2
FMOD: CodecFSB::setPositionInternal : done
FMOD: CodecFSB::setPositionInternal : subsound 3 position 0 postype 2

  • You must to post comments
0
0

Hi Stephen.
That looks familiar, like a problem that was fixed in a 4.03.xx version, because all those setposition calls are now gone.
We are now at 4.04 which we are now branching into ‘stable’ and ‘development’ so you should be ok to upgrade to this version, and we will just fix issues in 4.04 stable if they arise without adding new features, but that one i think is part of 2 bugs that are both fixed already.

  • You must to post comments
0
0

Great.

I’ll upgrade and try again.

  • You must to post comments
0
0

The log output is different now. It still never returns from getEventByIndex.

FMOD: SystemI::createSoundInternal : filename = GAME:\data\sound\xenon\streamtest.fsb : mode 001800ca
FMOD: SystemI::createSoundInternal : exinfo->cbsize = 76
FMOD: SystemI::createSoundInternal : 18 codecs found. Scan all until one succeeds
FMOD: CodecFSB::openInternal : attempting to open as FSB..
FMOD: CodecFSB::openInternal : found FSB3
FMOD: CodecFSB::openInternal : FSB contains 6 sounds
FMOD: CodecXMA::openInternal : opened as wanting to decode to PCM
FMOD: CodecXMA::XMAinit : XMA decoder context created
FMOD: CodecFSB::openInternal : Subsound 0 : Mono_Voice_1.wav – lengthpcm 229632 lengthbytes 63488 format 2 channels 1.
FMOD: CodecFSB::openInternal : Subsound 1 : Mono_voice_2.wav – lengthpcm 801920 lengthbytes 245760 format 2 channels 1.
FMOD: CodecFSB::openInternal : Subsound 2 : Stereo_Music_2.wav – lengthpcm 3949696 lengthbytes 2271232 format 2 channels 2.
FMOD: CodecFSB::openInternal : Subsound 3 : 5.1_Test_1.wav – lengthpcm 960384 lengthbytes 2228224 format 2 channels 6.
FMOD: CodecFSB::openInternal : Subsound 4 : 5.1_Test_2.wav – lengthpcm 2882816 lengthbytes 5539840 format 2 channels 6.
FMOD: CodecFSB::openInternal : Subsound 5 : Stereo_Music_1.wav – lengthpcm 8329856 lengthbytes 5019648 format 2 channels 2.
FMOD: CodecFSB::openInternal : done.
FMOD: SystemI::createSoundInternal : Format has 6 subsounds.
FMOD: SystemI::createSoundInternal : Create as FMOD_CREATESTREAM
FMOD: System::createSoundInternal : decode buffersize = 38400 : blocksize = 19200
FMOD: SystemI::createSample : mode 000000ca length 38400 samples, lengthbytes 63488
FMOD: SystemI::createSample : subsamples = 1, channels = 6
FMOD: SystemI::createSample : subsample 0. output = E9CF8250
FMOD: SystemI::createSample : mSoftware = E9CF8250
FMOD: OutputSoftware::createSample : lengthpcm 38400, lengthbytes 63488, channels 6, format 2, mode 000000ca
FMOD: OutputSoftware::createSample : done
FMOD: SystemI::createSample : done
FMOD: System::createSoundInternal : 6 subsounds detected. Set up default sentence.
FMOD: System::createSoundInternal : switch file handle from small blocking single buffered to large nonblocking doublebuffered.
FMOD: Thread::initThread : Initializing FMOD file thread. priority 1
FMOD: Thread::initThread : – Stacksize 4096. Stack pointer 00000000 : usesemaphore = 1 : sleeptime = 0
FMOD: Thread::initThread : done.
FMOD: Thread::callback : * FMOD file thread started
FMOD: System::createSoundInternal : Seek stream to start
FMOD: CodecFSB::setPositionInternal : subsound 0 position 0 postype 2 : Mono_Voice_1.wav
FMOD: CodecFSB::setPositionInternal : done
FMOD: System::createSoundInternal : flush stream buffer

  • You must to post comments
0
0

On the PC I can create the event but the next sound triggered (event->start()) after I start the stream’s playback crashes in fmod.dll with a memory access error.

Another note:
This is a 5.1 stream.

  • You must to post comments
0
0

Ok, I’ve reproduced it and we should have a fix for you early next week.

Cheers,

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.