Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#489 Mac OS X: portmidi UTF-8 device names rather than blank

bugfix
open
puredata (375)
6
2013-01-18
2013-01-18
No

Right now, if there are extended unicode characters (i.e. Japanese) in the name of a MIDI device, portmidi just returns a blank string (""). In Mac OS X 10.7, the names of the default MIDI devices are now localized, so that means for all Mac OS X systems in Japanese, Chinese, Greek, Korean, etc. the MIDI names will all be blank. The attached patch fixes this by using the Mac OS X CFString API to fetch a full UTF-8 version of the name.

Discussion


Anonymous


Cancel   Add attachments