mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
use FLUID_LOG rather than fprintf
This commit is contained in:
parent
7a3a97a98e
commit
24a6748a02
1 changed files with 3 additions and 3 deletions
|
@ -179,14 +179,14 @@ static void fluid_alsa_autoconnect_inputs(fluid_alsa_seq_driver_t* dev, const sn
|
|||
snd_seq_port_subscribe_set_dest(subs, dest);
|
||||
|
||||
if (snd_seq_get_port_subscription(seq, subs) == 0) {
|
||||
fprintf(stderr, _("Connection %s is already subscribed\n"), pname);
|
||||
FLUID_LOG(FLUID_ERR, "Connection %s is already subscribed\n", pname);
|
||||
continue;
|
||||
}
|
||||
if (snd_seq_subscribe_port(seq, subs) < 0) {
|
||||
fprintf(stderr, _("Connection of %s failed (%s)\n"), pname, snd_strerror(errno));
|
||||
FLUID_LOG(FLUID_ERR, "Connection of %s failed (%s)\n", pname, snd_strerror(errno));
|
||||
continue;
|
||||
}
|
||||
fprintf(stderr, _("Connection of %s succeeded\n"), pname);
|
||||
FLUID_LOG(FLUID_ERR, "Connection of %s succeeded\n", pname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue