AudioUnitSetProperty deadlock?
AudioUnitSetProperty deadlock?
- Subject: AudioUnitSetProperty deadlock?
- From: Dominic Feira <email@hidden>
- Date: Tue, 19 Apr 2005 12:46:57 -0400
Hello.
I have managed to create a deadlock in my Core Audio code. Basically, I have an audio input thread that writes data to a ring buffer which is then read from by another thread that does some conversions on that data.
I have a notification set up on the device that I'm getting input from to let me know when the sample rate changes. This works fine. I then try to modify the other side of the ring buffer to let it know that the data is now in a different sample rate.
AudioUnitSetProperty(converterUnit,
kAudioUnitProperty_StreamFormat,
kAudioUnitScope_Input,
0,
&desc,
sizeof(AudioStreamBasicDescription));
This call never returns. Anybody know why?
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden