• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioUnitSetProperty deadlock?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AudioUnitSetProperty deadlock?
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Minimizing input/output latency ?
  • Next by Date: Re: AudioUnitSetProperty deadlock?
  • Previous by thread: Re: timestamping in AUHal renderer
  • Next by thread: Re: AudioUnitSetProperty deadlock?
  • Index(es):
    • Date
    • Thread