Bug in DefaultOutputUnit - UsingAudioConverter example?
Bug in DefaultOutputUnit - UsingAudioConverter example?
- Subject: Bug in DefaultOutputUnit - UsingAudioConverter example?
- From: "Patzer, Curtis" <email@hidden>
- Date: Thu, 31 Jul 2003 09:27:49 -0700
- Thread-topic: Bug in DefaultOutputUnit - UsingAudioConverter example?
When I build and run the DefaultOutputUnit example project using the
AudioConverter, I get the following crash:
I wanted to see how the test app responds to changing device format
while it's running. I changed it to run for 60 seconds. Then I opened
the Audio MIDI Setup application, and selected my device (an Emagic EMI
2|6) as the Default Output. Then I set a breakpoint in the
MyStreamPropertyListener( ) function and ran the test program.
While the test program was running (outputting its sine wave), I changed
the output settings of the EMI 2|6 in Audio MIDI Setup. The test app hit
the breakpoint in the listener function as expected. I stepped through
the code to verify that everything looked OK, then continued to run. But
there was no more audio. When the test app quit, it hung deep inside
CloseComponent(theOutputUnit); while dealing with semaphores.
I can't say if the same thing happens with the built-in audio
controller, because it only has one output format. Is this a bug in Core
Audio, or maybe the EMI driver? Any suggestions?
Curtis Patzer
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.