Skip to content
Snippets Groups Projects
Commit 8f15b34b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

show both ALSA and OSS midi apis if available

parent e61542d7
No related branches found
No related tags found
No related merge requests found
...@@ -525,13 +525,13 @@ void sys_get_midi_apis(char *buf) ...@@ -525,13 +525,13 @@ void sys_get_midi_apis(char *buf)
void sys_get_midi_apis2(t_binbuf *buf) void sys_get_midi_apis2(t_binbuf *buf)
{ {
int n = 0; int n = 0;
#ifndef USEAPI_ALSA #ifdef USEAPI_OSS
binbuf_addv(buf, "si", gensym("OSS"), API_DEFAULT); n++; binbuf_addv(buf, "si", gensym("OSS"), API_DEFAULT);
#else
n++; n++;
#endif #endif
#ifdef USEAPI_ALSA #ifdef USEAPI_ALSA
binbuf_addv(buf, "si", gensym("ALSA"), API_ALSA); n++; binbuf_addv(buf, "si", gensym("ALSA"), API_ALSA);
n++;
#endif #endif
/* then again, if only one API (or none) we don't offer any choice. */ /* then again, if only one API (or none) we don't offer any choice. */
// if (n < 2) // if (n < 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment