Unified · Split
| @@ -811,9 +811,9 @@ fail: · 810 unmodified lines | |||
| 811 | return e; | 811 | return e; |
| 812 | } | 812 | } |
| 813 | // Returns true on success. todo currently output only | 813 | // Returns true on success. todo currently output only |
| 814 | STATCNI | 814 | staticni bool portmidi_find_device_id_by_name(char const *name, Usz namelen, |
| 815 | bool portmidi_find_device_id_by_name(char const *name, Usz namelen, | 815 | PmError *out_pmerror, |
| 816 | PmError *out_pmerror, PmDeviceID *out_id) { | 816 | PmDeviceID *out_id) { |
| 817 | *out_pmerror = portmidi_init_if_necessary(); | 817 | *out_pmerror = portmidi_init_if_necessary(); |
| 818 | if (*out_pmerror) | 818 | if (*out_pmerror) |
| 819 | return false; | 819 | return false; |