Re: Ghost list?
Re: Ghost list?
- Subject: Re: Ghost list?
- From: Nuno Santos <email@hidden>
- Date: Thu, 3 May 2007 22:21:23 +0100
Hi,
Yeah, i've been looking to a little bit of each file in the sample
driver and i have realized where it starts and where i have to start,
that is rewrite a lot.
Is going to be a nice challenge.
Are you suggesting me create a custom MIDIServer just to test my
driver? I didn't understand very well what you told me.
I would love to have the possibility of opening some audio utility/
app that could write to the system log that kind of output.
Thank you both for your attention,
Best regards,
Nuno
Em May 3, 2007, às 9:37 PM, B.J. Buchalter escreveu:
Your questions are interesting, and I would be interested in the
answers as
well. Unfortunately, I don't know the answers to them.
I can tell you that your driver is called by the MIDIServer. The
MIDIServer
is run on demand by any app that registers with CoreMIDI. Your
driver will
be loaded by the MIDIServer.
It is at:
/System/Library/Frameworks/CoreMIDIServer.framework/MIDIServer
You should be able to set up a custom executable in Xcode and debug
your
driver plugin with the MIDIServer as the host (then Xcode will
launch the
MIDIServer under gdb for you). Or you can probably attach to the
MIDIServer
with xcode as well.
I believe that the SampleUSBMIDIDriver::MatchDevice is actually
called by
other code in the sample driver, after it has registered for USB
notifications with IOKit. If you are HID based, you may have to
rewrite all
of that infrastructure code in the sample to find your device.
I hope this helps. Perhaps someone who is more familiar with the
lifecycle
of the MIDI drivers will pipe up and add to the foregoing.
Best regards,
B.J. Buchalter
On 5/3/07 3:50 PM, "Nuno Santos" <email@hidden> wrote:
Hi,
I'm asking this because i've sent two emails in the last couple of
days, they were sended to the list but I couldnt see any activity
after that.
I'm sorry but everytime i write to Apple lists i think i'm kind of
ignored for my basic questions.
But the problem is that is very difficult to find an active non
official comunity developing Apple related stuff, so, the lists are
the only of getting some questions answered for someone who knows.
Even after reading a lot of Apple documentation about the issues,
sometimes i cant find the information at the first iteration, or it
doesnt make sense yet.
I know you are all buse people, but where can we go?
Well, this is my point of view.
Best regards,
Nuno
Em May 3, 2007, às 6:29 PM, Alexander von Below escreveu:
Yes, which makes me a ghost. Boo
Just kidding.
Alex
Am 03.05.2007 um 19:21 schrieb Nuno Santos:
Hi,
Is this a ghost list?
:S
Nuno
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40imaginando.net
This email sent to email@hidden
_______________________________________________
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