0
0

Hi,

I’m developing a karaoke application and it worked great, however after a week or so without opening the project, suddenly fmod cannot get initialised:

[code:3l9fps1q]FMOD: OutputCoreAudio::init : Initializing...
FMOD: OutputCoreAudio::init : Forcing output format to an acceptable value: PCM16.
FMOD: OutputCoreAudio::init : Forcing dsp buffer length to hardware selected size: 1156.
FMOD: OutputCoreAudio::init : Cannot initialize audio device. (err: -10851)
FMOD: OutputCoreAudio::init : Initialization Failed!
(gdb) continue
FMOD error! (62) Error initializing output device. [/code:3l9fps1q]

I’m sure that I haven’t upgraded nor installed anything new on sdk 3.0

I’ve deleted FMOD api for iPhone and reinstalled again, and even the examples do not work :(

any clue?
thx

  • You must to post comments
0
0

I have experienced things like this happening, I think there are bugs in the emulated sound device that cause FMOD to fail.

Firstly I would recommend rebooting your Mac, just incase something got into a bad state somehow. If that doesn’t work I have a crazy solution that might…

It might seem silly but try playing a song in iTunes, then start debugging with the simulator (while the song is still playing). I don’t know why this works but it was recommended to me by someone and it worked for me once.

So for now give those a try and let me know how you get on, I will try and get to the bottom of it.

  • You must to post comments
0
0

Thx Mathew, I will give it a try

It’s better a silly solution than nothing, and I agree with you, it looks like a bug with emulator sound engine

I’ll keep you posted!

  • You must to post comments
0
0

I’m stuck with this error :/

Your itunes trick didn’t work, neither did resetting the laptop and reinstalling sdk 3.0, it goes on with this error:

[code:1st46tiz][Session started at 2009-07-15 18:30:57 +0200.]
FMOD: SystemI::init : FMOD Ex Version: 00042601
FMOD: SystemI::init : maxchannels = 32, 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 : Forcing dsp buffer length to hardware selected size: 1156.
FMOD: OutputCoreAudio::init : Cannot initialize audio device. (err: -10851)
FMOD: OutputCoreAudio::init : Initialization Failed!
FMOD error! (62) Error initializing output device. [/code:1st46tiz]

What can I do? Is there any option for debugging the library??

thx

  • You must to post comments
0
0

Apple has advised in the past that some sound devices don’t play nice with the simulator. Can you ensure that in Audio MIDI Setup for your MacBook is set to the default "Built In" devices, not the Simulator pseudo device or some other attached device.

If that gives you no joy, try using setSoftwareFormat to specify a different sample rate, it will default to 24KHz, perhaps your MacBook doesn’t like that rate. Matching the rate specified in Audio MIDI Setup would be a good candidate, otherwise 44.1KHz, 48KHz are good options too.

The error you are getting is different to that one I was thinking of, you are getting an invalid parameter error, which I am guessing is the device not liking the format being requested by FMOD for the audio device.

  • You must to post comments
0
0

Hi Mathew,

finally it worked!!!

The trick was, as you’ve said, selecting iPhoneAudioSimulatorDevice under line-in midi preferences of my Macbook

Thx so much!!

  • You must to post comments
0
0

Excellent, I’m glad you have it resolved.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.