MIDIServer and background programs
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