• 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
MIDIServer and background programs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDIServer and background programs


  • Subject: MIDIServer and background programs
  • From: Ethan Funk <email@hidden>
  • Date: Sun, 26 Oct 2008 11:33:29 -0700

This was a discussion that I started a while back, but now I really need to get it resolved:

I am trying to do MIDI stuff along with audio stuff from my program that can be configure to run at startup time (via StartupItems), from with in a special user account. Since it is running prior to a user being logged in, from an account that is never logged in, MIDIServer does not run. As such, none of the CoreMIDI functions in my program work. I can find no information on MIDIServer other that the API for accessing it's services. Is it possible to manually run MIDIServer to work outside of a login session? Can I access any midi function at a lower level to bypass MIDIServer?

From my experimentation, I noticed that running my application via SystemStarter from the terminal while the terminal session is logged in as root caused MIDIServer to run and provide services to my application although MIDIServer is run from with in the account of the user who is currently logged in, not from with in the root account or the account my program drops privileges to. Is this is due to launchd running MIDIServer from the current (logged in user) bootstrap session???

All is well when my program is it is run by a logged in user, so this is truly a bootstrap problem and not a problem with my code.

Any wisdom on this? I really need to make MIDI work in this situation and am willing to "write my own" code to bypass MIDIServer if I have to/can.

Ethan...
_______________________________________________
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: Regarding "Unexpected audio snippet sounds during playback" article
  • Next by Date: question re: AUMatrixMixer, enabled flag and its bus/elements.
  • Previous by thread: Re: Regarding "Unexpected audio snippet sounds during playback" article
  • Next by thread: question re: AUMatrixMixer, enabled flag and its bus/elements.
  • Index(es):
    • Date
    • Thread