Re: get/set device receive channels
Re: get/set device receive channels
- Subject: Re: get/set device receive channels
- From: Doug Wyatt <email@hidden>
- Date: Fri, 19 Sep 2003 22:29:16 -0700
V:
SInt32 channels;
MIDIObjectGetIntegerProperty(theDevice, kMIDIPropertyReceiveChannels,
&channels);
bool channel1Enabled = (channels & (1 << 0)) != 0;
bool channel2Enabled = (channels & (1 << 1)) != 0;
bool channel3Enabled = (channels & (1 << 2)) != 0;
etc.
Doug
On Sep 19, 2003, at 1:12, vvor wrote:
can somebody show a example of getting a device's "receivesChannels"
property
and parsing that into a list of available receives channels? i am
accessing
coremidi via cfm, etc...
vvvv
_______________________________________________
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.