[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[fluid-dev] ALSA Problem with libfluidsynth.so
From: |
mike |
Subject: |
[fluid-dev] ALSA Problem with libfluidsynth.so |
Date: |
Fri, 8 Sep 2017 15:25:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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] ALSA Problem with libfluidsynth.so,
mike <=