Re: Changing the refCons
Re: Changing the refCons
- Subject: Re: Changing the refCons
- From: Kurt Revis <email@hidden>
- Date: Sun, 26 Oct 2003 11:24:05 -0800
On Sunday, October 26, 2003, at 01:54 AM, Ilya Maykov wrote:
Quick question. Is it possible to change the value of the refCon of a
virtual MIDI Destination Endpoint or a MIDI Input Port (C API) after
it's been created? If so, how?
Short answer: No.
Long answer: You'll have to create a new virtual endpoint or input
port, using your new refCon, and destroy the old one. Alternatively,
you can structure your code so you don't have to change the refCon --
that's the way most people do it.
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.