Closed minux84 closed 6 years ago
Can you post the config file you're using? I can see that you are running with -c config but the config.file output shows raveconf.
I found the problem: it was in the configure.ac file at line 22.
AC_CHECK_LIB(asound,snd_rawmidi_open,have_alsa="yes")
if test "$have_alsa" == "yes"
then
ALSA_LIBS="`pkg-config --libs alsa`"
ALSA_CFLAGS="`pkg-config --cflags alsa`"
ALSA_DEPS=",libasound2"
AC_SUBST(ALSA_LIBS)
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_DEPS)
AC_DEFINE(HAVE_ALSA, 1, [ALSA has been detected])
fi
I removed the if and finally I got a message during make asoundlib.h not found
.
So I reinstalled libasound2-dev
and recompile the project and now it works!
Tomorrow I'll try to restore original code, to verify if the problem was libasound2-dev.
What are you building the code on? I'll see if I can reproduce the problem.
Were you able to identify the cause of the problem? If not, can you let me know what platform you are building raveloxmidi on and I will see if I can repro the problem.
Thanks
Dave
Closing
I'm trying to integrate ALSA. Following the instruction i get this from
amidi -l
so i append
alsa.output_device = hw:4,0
in config file.when i run
sudo raveloxmidi -Nd -c config
i get:Can't find this log information
What am I doing wrong?