Hi folks, hope this is the right place to ask this CoreMidi question.
I have a Rosendahl mif4
<http://www.rosendahl-studiotechnik.de/mif4.html> which I'm using as an
MTC source. I know it sends MTC because I can sync to it and it works
really well.
However whenever I try to get the kMIDIPropertyTransmitsMTC property, so
I can have my app provide a filtered list of MIDI inputs that can act as
MTC sources, CoreMidi always returns 0:
MIDIEndpointRef* dest_ptr; // passed in, definitely works as I
can get the device name and use it as a sync source
CFStringRef name = CFSTR( "" );
MIDIObjectGetStringProperty( *dest_ptr, kMIDIPropertyDisplayName,
&name );
const char *output_name = CFStringGetCStringPtr( name,
kCFStringEncodingUTF8 );
int transmits_mtc;
MIDIObjectGetIntegerProperty( *dest_ptr, kMIDIPropertyTransmitsMTC,
&transmits_mtc );
printf( "%s transmits_mtc: %d\n", output_name, transmits_mtc );
// prints: "mif4 transmits_mtc: 0"
Is this more likely because:
- the device isn't providing information required for CoreMidi to know
that it transmits MTC;
- CoreMidi isn't doing what I expect;
- I'm doing something wrong or missing a setup call;
- something else?
How would I go about finding out which is the case?
Many thanks for any advice,
Igor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]