• 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: logging coreaudio server plugin driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logging coreaudio server plugin driver


  • Subject: Re: logging coreaudio server plugin driver
  • From: Ed Wynne <email@hidden>
  • Date: Tue, 23 Sep 2014 12:34:24 -0400

On Sep 23, 2014, at 12:23 PM, hagen <email@hidden> wrote:

> I hope its the right place, because this question targets the other end of coreaudio.
> I also hope it hasn’t asked before, but Apples Mailing List Webinterface makes it impossible to find anything (who thought its a good idea to have threads sorted by months???)
>
> Well; where does my std::cout or std::clog output goes from my coreaudio server plugin driver?
> Or in other words, how do I log from a coreaudio server plugin driver?

You can't get access to stdout or stderr without modifying the system launchd config. You can use ASL (i.e., syslog) though, it works just fine.

> Further, is debugging a coreaudio server plugin driver possible from within Xcode? And if so, how?

Nope, and in most cases you also really don’t want to do it on the same machine due to GUI runtime dependencies. The best way to debug coreaudiod is to ssh in from another machine, sudo -s to root, and lldb -p <pid_of_coreaudiod>.

-Ed


 _______________________________________________
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: logging coreaudio server plugin driver
  • Next by Date: Re: logging coreaudio server plugin driver
  • Previous by thread: Re: logging coreaudio server plugin driver
  • Next by thread: Convert an in-memory AAC file to LPCM
  • Index(es):
    • Date
    • Thread