Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AMS crash when calling setStreamAvailable



Hi,

Is there anything special I have to do to use IOAudioStream::setStreamAvailable?

I have tried surrounding it with the following:

/////
pauseAudioEngine();
beginConfigurationChange();

setStreamAvailable(fEnable);

completeConfigurationChange();
resumeAudioEngine();
/////


However, I find that when I change the stream availability, AMS will crash. The trace is the following:


0 libSystem.B.dylib 0x9276547a __kill + 10
1 libSystem.B.dylib 0x927dc782 raise + 26
2 libSystem.B.dylib 0x927ebd3f abort + 73
3 libstdc++.6.dylib 0x95786005 0x9573e000 + 294917
4 libstdc++.6.dylib 0x9578410c __gxx_personality_v0 + 1108
5 libstdc++.6.dylib 0x9578414b std::terminate() + 29
6 libstdc++.6.dylib 0x95784261 __cxa_throw + 101
7 com.apple.audio.AudioMIDISetup 0x00002c79 0x1000 + 7289
8 com.apple.audio.AudioMIDISetup 0x00030ac1 0x1000 + 195265
9 com.apple.Foundation 0x92c1d67a _nsnote_callback + 106
10 com.apple.CoreFoundation 0x91a0ea4a __CFXNotificationPost + 362
11 com.apple.CoreFoundation 0x91a0ed23 _CFXNotificationPostNotification + 179
12 com.apple.Foundation 0x92c1aa70 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
13 com.apple.Foundation 0x92c24108 -[NSNotificationCenter postNotificationName:object:] + 56
14 com.apple.audio.AudioMIDISetup 0x000340be 0x1000 + 209086
15 com.apple.AppKit 0x9339ff94 -[NSApplication sendAction:to:from:] + 112
16 com.apple.AppKit 0x9339fed4 -[NSControl sendAction:to:] + 108
17 com.apple.AppKit 0x9339fd5a -[NSCell _sendActionFrom:] + 169
18 com.apple.AppKit 0x9339f3bb -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1827
19 com.apple.AppKit 0x9339ec12 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 541
20 com.apple.AppKit 0x9339e4cc -[NSControl mouseDown:] + 888
21 com.apple.AppKit 0x9339cd9b -[NSWindow sendEvent:] + 5362
22 com.apple.AppKit 0x93369a2c -[NSApplication sendEvent:] + 2766
23 com.apple.AppKit 0x932c7705 -[NSApplication run] + 847
24 com.apple.AppKit 0x932949ba NSApplicationMain + 574
25 com.apple.audio.AudioMIDISetup 0x00002aa6 0x1000 + 6822



I'm on 10.5.1.

Thanks,
Brett.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.