• 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
Debugging tip for AudioServerPlugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging tip for AudioServerPlugin


  • Subject: Debugging tip for AudioServerPlugin
  • From: Robert Bielik <email@hidden>
  • Date: Tue, 24 Nov 2015 16:29:40 +0100

Hi all,

I've seen that many start/stop coreaudiod outside Xcode when debugging their AudioServerPlugin.

Here's a neat tip that makes life a lot easier:

1. Setup the "Wait for executable..." as usual.
2. In the Debug scheme, expand so you can set "Pre-action", in pre-action you do the shell commands:

sudo launchctl unload /system/library/launchdaemons/com.apple.audio.coreaudiod.plist sleep 1 && sudo launchctl load /system/library/launchdaemons/com.apple.audio.coreaudiod.plist &

First line will stop coreaudiod and second will start it delayed so that Xcode is ready for attaching when coreaudiod starts up! :)

Regards
/Robert

_______________________________________________
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


  • Prev by Date: Re: AudioServerPlugin
  • Next by Date: Re: AudioServerPlugin
  • Previous by thread: Re: AudioServerPlugin
  • Next by thread: playback audio, noise appears
  • Index(es):
    • Date
    • Thread