mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 13:21:03 +00:00
Elaborate some error messages
This commit is contained in:
parent
10510e486b
commit
0825e815a8
3 changed files with 7 additions and 5 deletions
|
@ -281,11 +281,11 @@ find_fluid_audio_driver(fluid_settings_t *settings)
|
|||
{
|
||||
if(allnames[0] != '\0')
|
||||
{
|
||||
FLUID_LOG(FLUID_INFO, "Valid drivers are: %s", allnames);
|
||||
FLUID_LOG(FLUID_INFO, "This build of fluidsynth supports the following audio drivers: %s", allnames);
|
||||
}
|
||||
else
|
||||
{
|
||||
FLUID_LOG(FLUID_INFO, "No audio drivers available.");
|
||||
FLUID_LOG(FLUID_INFO, "This build of fluidsynth doesn't support any audio drivers.");
|
||||
}
|
||||
|
||||
FLUID_FREE(allnames);
|
||||
|
|
|
@ -172,11 +172,11 @@ fluid_midi_driver_t *new_fluid_midi_driver(fluid_settings_t *settings, handle_mi
|
|||
{
|
||||
if(allnames[0] != '\0')
|
||||
{
|
||||
FLUID_LOG(FLUID_INFO, "Valid drivers are: %s", allnames);
|
||||
FLUID_LOG(FLUID_INFO, "This build of fluidsynth supports the following MIDI drivers: %s", allnames);
|
||||
}
|
||||
else
|
||||
{
|
||||
FLUID_LOG(FLUID_INFO, "No MIDI drivers available.");
|
||||
FLUID_LOG(FLUID_INFO, "This build of fluidsynth doesn't support any MIDI drivers.");
|
||||
}
|
||||
|
||||
FLUID_FREE(allnames);
|
||||
|
|
|
@ -586,7 +586,9 @@ int main(int argc, char **argv)
|
|||
break;
|
||||
|
||||
case 'j':
|
||||
#if JACK_SUPPORT
|
||||
fluid_settings_setint(settings, "audio.jack.autoconnect", 1);
|
||||
#endif
|
||||
fluid_settings_setint(settings, "midi.autoconnect", 1);
|
||||
break;
|
||||
|
||||
|
@ -1075,7 +1077,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if(adriver == NULL)
|
||||
{
|
||||
fprintf(stderr, "Failed to create the audio driver\n");
|
||||
fprintf(stderr, "Failed to create the audio driver. Giving up.\n");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue