From c0767fd17115504f483603018d856d611084f0a0 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Sat, 4 Nov 2017 10:40:00 +0100 Subject: [PATCH] call _sndio_debug_init() in mio_rmidi_getfd() --- libsndio/mio_rmidi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsndio/mio_rmidi.c b/libsndio/mio_rmidi.c index f9d7722..e0302cc 100644 --- a/libsndio/mio_rmidi.c +++ b/libsndio/mio_rmidi.c @@ -77,6 +77,9 @@ mio_rmidi_getfd(const char *str, unsigned int mode, int nbio) #endif int fd, flags; +#ifdef DEBUG + _sndio_debug_init(); +#endif p = _sndio_parsetype(str, "rmidi"); if (p == NULL) { DPRINTF("mio_rmidi_getfd: %s: \"rsnd\" expected\n", str);