Re: MIDI Private Streams cache?
Re: MIDI Private Streams cache?
- Subject: Re: MIDI Private Streams cache?
- From: Doug Wyatt <email@hidden>
- Date: Tue, 28 Feb 2006 12:34:30 -0800
On Feb 28, 2006, at 11:31, Robert Kukuchka wrote:
Hello,
I posted something about this a while ago, then had to move on to
other things. Came back and found something weird. I have been
teaching myself how to make midi streams / devices private. I had a
MidiDeviceRef that I set kMIDIPropertyPrivate. My code intended to
educate me crashed before I could mark it private, and I've since
lost that midi device on my system. Caveat: I've been using some of
the tools in the FWAUserLib, and I was able to make a fake MIDI
device. Interestingly if I set the device private, without undoing
it, and then I remake the device at a later time, it's still
invisible to the system. BUT, if I change the GUID in the when I
create it, I'm able to see the fake MIDI again. Is there some sort
of cache for hidden midi devices that I can clean out?
Thanks
Rob
I don't know what the calls you're making to FWAUserLib do in terms
of manipulating CoreMIDI ...
If you need to fix something up, you can hand-edit the CoreMIDI state
in the plists it saves:
~/Library/Audio/MIDI Configurations/<current config name>.mcfg
~/Library/Preferences/ByHost/com.apple.MIDI.<machine id>.plist
You'll probably need:
plutil -convert xml1 <filename>
to convert the plist from binary to XML format. Search for "private"...
If you really don't want to mess with the plists, you can make a new
MIDI configuration in Audio MIDI Setup and that will give you a clean
slate.
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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