|
From: | Tom M. |
Subject: | Re: [fluid-dev] ALSA Problem with libfluidsynth.so |
Date: | Fri, 8 Sep 2017 22:46:04 +0200 |
Hi All, I successfully used 'cmake' and 'make' to produce the fluidsynth executable. Running
./fluidsynth -a alsa FluidR3_GM.sf2 LUTE.mid
played the MIDI file perfectly.
I then compiled the example fluidsynth_simple.c, and linked it against libfluidsynth.so
The only change I made to fluidsynth_simple.c was to add the line selecting ALSA before selecting the audio driver.
fluid_settings_setstr(settings, "audio.driver", "alsa");
adriver = new_fluid_audio_driver(settings, synth);
Ran it:- ./fluidsynth_simple FluidR3_GM.sf2
This is the result:
fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible.
fluidsynth: error: Couldn't find the requested audio driver alsa. Valid drivers are: file, oss.
Failed to create the audio driver.
Any help in using ALSA with the library would be appreciated.
Regards, Mike
Platform: Ubuntu 16.04.3 LTS, x86_64
fluidsynth: 1.1.7
_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev
[Prev in Thread] | Current Thread | [Next in Thread] |