Simulator crashes on AQMEIOManager
Asked Answered
M

3

11

The simulator crashes when trying to play audio.

13:22:14.211 App [2965:5603]  <0xb03e7000> Error '!obj' trying to fetch default input device's sample rate
13:22:14.211 App [2965:5603]  <0xb03e7000> Error getting audio input device sample rate: '!obj'
13:22:14.213 App [2965:5603]  <0xb03e7000> AQMEIOManager::FindIOUnit: error '!dev'
Malinin answered 26/9, 2012 at 14:15 Comment(0)
M
14

Selecting "internal microphone" instead of "Soundbooth 3.0" in the sound system settings for input did the trick.

Conclusion: The simulator does not seem to like anything other than the internal microphone.

Malinin answered 26/9, 2012 at 14:18 Comment(5)
Same fix here. Changed from my Podcast mic to "Internal Microphone."Palladian
Could also be default sound output (eg. was set to Airplay in my case). THanks.Diploid
If you don't have an internal microphone, such as on the new Mac Pro, a workaround to avoid the crashing issue is to check first whether you're running in the simulator (with TARGET_IPHONE_SIMULATOR, say) before triggering a sound.Busterbustle
I can't believe that I just connected an Apple Headset to my Mac Pro in order to fix my unit tests...... But it works just fine, and I didn't have to change a single line of code.Humphreys
Changed from system to headphone and headphone to system not working, it fails every time in simulator with crash.Halfcocked
O
2

My mac mini don't have an internal microphone,the Setting->sound->input list is empty. It worked when I insert an external one .

Ogrady answered 25/7, 2015 at 9:39 Comment(0)
U
1

iDeveloper's answer fixed this crash for me as well, although in my case the sound system setting had its input set to my digidesign card. The point is, this crash happens when the System Preferences "Sound" setting for input is set to something other than internal mic.

Unsling answered 22/12, 2012 at 21:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.