Skip to content

Commit

Permalink
Merge pull request #53 from sl1200mk2/patch-7
Browse files Browse the repository at this point in the history
setting manufacturer name in pmmacosxcm.c
  • Loading branch information
rbdannenberg committed Jun 17, 2023
2 parents 01d6443 + c92bfa0 commit 0e1588f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pm_mac/pmmacosxcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ static PmError midi_create_virtual(int is_input, const char *name,
}
}
nameRef = CFStringCreateWithCString(NULL, mfr_name, kCFStringEncodingUTF8);
MIDIObjectSetStringProperty(client, kMIDIPropertyManufacturer, nameRef);
MIDIObjectSetStringProperty(endpoint, kMIDIPropertyManufacturer, nameRef);
CFRelease(nameRef);

pm_descriptors[id].descriptor = (void *) (intptr_t) endpoint;
Expand Down

0 comments on commit 0e1588f

Please sign in to comment.