0
0

Hello,

I want run netstream example on iphone simulator (os 3.1.3), but I have application crash always!
I use link: http://audio.rambler.ru/play.html?id=800

Console log:
[quote:q4ceptnh]FMOD: SystemI::init : FMOD Ex Version: 00042809
FMOD: SystemI::init : maxchannels = 1, flags = 00000020, extradriverdata = 0x0
FMOD: SystemI::close :
FMOD: SystemI::close : Stop all sounds
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::init : Maximum hardware read size: 4096 samples, Software buffer size: 1024 samples, Number of software buffers: 4.
FMOD: OutputCoreAudio::init : Done.
FMOD: SystemI::init : Set up software engine
FMOD: Thread::initThread : Initializing FMOD mixer thread. priority 1
FMOD: Thread::initThread : – Stacksize 0. 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: Profile::init : Profiler listening on port: 9264
FMOD: SystemI::init : done

FMOD: SystemI::createSound : filename = http://audio.rambler.ru/play.html?id=800 : mode 000100c8
FMOD: SystemI::createSound : FMOD_NONBLOCKING specified. Putting into queue to be opened asynchronously!
FMOD: SystemI::createSound : allocated async data mem
FMOD: SystemI::createSound : getasyncthread
FMOD: Thread::initThread : Initializing FMOD thread for FMOD_NONBLOCKING. priority 1
FMOD: Thread::initThread : – Stacksize 65536. Stack pointer 0x0 : usesemaphore = 1 : sleeptime = 0
FMOD: Thread::callback : * FMOD thread for FMOD_NONBLOCKING started
FMOD: Thread::initThread : done.
FMOD: SystemI::createSound : setdata soundi = 0x3d3fd70 : node = 0x40cec1c
FMOD: SystemI::createSound : add node to async list : head = 0x3b46218. list count = 0
FMOD: AsyncThread::threadFunc : Starting Asynchronous operation on sound 0x3d3fd70
FMOD: SystemI::createSoundInternal : filename = http://audio.rambler.ru/play.html?id=800 : mode 000100c8
FMOD: SystemI::createSound : done
FMOD: SystemI::createSoundInternal : 16 codecs found. Scan all until one succeeds
FMOD: CodecTag::openInternal : attempting to open ID3 or ASF tags..
FMOD: Codec::release :
FMOD: Plugin::release : (0x3d5bab0)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: CodecFSB::openInternal : attempting to open as FSB..
FMOD: Codec::release :
FMOD: CodecFSB::closeInternal :
FMOD: CodecFSB::closeInternal : done
FMOD: Plugin::release : (0x3d5e960)
FMOD: Plugin::release : done
FMOD: Codec::release : done
FMOD: System::createSoundInternal : Fatal error (37) scanning the codecs. (ie not FMOD_ERR_FORMAT or FMOD_ERR_FILE_EOF)
FMOD: AsyncThread::threadFunc : Finished Asynchronous operation on sound 0x3d3fd70
FMOD error! (37) An invalid parameter was passed to this function.[/quote:q4ceptnh]

  • You must to post comments
0
0

You mention your application crashes because of this problem, looking at the output here it seems it just returns an error. If you are getting a crash from FMOD code can you provide the callstack.

I have reproduced what I believe is your issue, which results in the FMOD error invalid param to flow out. I have a fix in place that will be in our next release. Be aware that the file you are net streaming is in fact a playlist, you will need to use our tag API (Sound::getTag) to get the elements of the play list, then create another sound based on the items of the playlist. See our "playlist" example for more info.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.