• 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
Re: atexit and kAudioDevicePropertyDeviceIsRunning problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: atexit and kAudioDevicePropertyDeviceIsRunning problem


  • Subject: Re: atexit and kAudioDevicePropertyDeviceIsRunning problem
  • From: Michael Guntsche <email@hidden>
  • Date: Fri, 28 Apr 2006 21:18:48 +0200

On Apr 28, 2006, at 21:02, Jeff Moore wrote:


Why even do that much work? There's no reason to. The kernel will take care of cleaning up any open AUs as a matter of course as part of tearing the process down.



Well, the libao library is a very simple one. To change the sampling rate you have to close it and re-open the device. So a close might get called and then "open" again without closing the whole application. If I do not tear down the audiounit in close I might risk that a second audiounit gets created.
I just tried it, I removed the loop that checks for remaining data and just close the Audiounit and adplay closed without hanging.
Well, thanks a lot for the time you have taken to help my Jeff.


Kind regards,
Michael
_______________________________________________
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


References: 
 >atexit and kAudioDevicePropertyDeviceIsRunning problem (From: Michael Guntsche <email@hidden>)
 >Re: atexit and kAudioDevicePropertyDeviceIsRunning problem (From: Jeff Moore <email@hidden>)
 >Re: atexit and kAudioDevicePropertyDeviceIsRunning problem (From: email@hidden)
 >Re: atexit and kAudioDevicePropertyDeviceIsRunning problem (From: Jeff Moore <email@hidden>)
 >Re: atexit and kAudioDevicePropertyDeviceIsRunning problem (From: Michael Guntsche <email@hidden>)
 >Re: atexit and kAudioDevicePropertyDeviceIsRunning problem (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: atexit and kAudioDevicePropertyDeviceIsRunning problem
  • Next by Date: Re: aggregate device
  • Previous by thread: Re: atexit and kAudioDevicePropertyDeviceIsRunning problem
  • Next by thread: using MusicSequenceSetMIDIEndpoint() & MusicSequenceSetAUGraph()
  • Index(es):
    • Date
    • Thread