• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get/set device receive channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • when using different devices
      • From: Matt Ingalls <email@hidden>
References: 
 >FW: get/set device receive channels (From: "vvor" <email@hidden>)

  • Prev by Date: RE: Proper way to remove an Audio Device
  • Next by Date: Re: bandwidth limits
  • Previous by thread: FW: get/set device receive channels
  • Next by thread: when using different devices
  • Index(es):
    • Date
    • Thread