01.10.2010 17:14, Jaroslav Kysela wrote:
Try upgrade alsa-utils (aplay). Appearenly, the bug is there (at least on my system the latest aplay lists devices correctly, but aplay 1.0.18 is buggy).
Many thanks, now it works! One thing to note is that previously also VirMIDI device was listed, and not any more. But I guess this is intentional, as it is not a PCM device. I needed the attached patch to compile alsa-utils. I am cross-compiling, and without this change, the configure would pick up the host's ncurses-config. Thanks for your help.
diff --git a/configure.in b/configure.in index 8bae007..2f47ef6 100644 --- a/configure.in +++ b/configure.in @@ -108,7 +108,8 @@ if test x$alsamixer = xtrue; then CURSESLIBDIR="" NCURSESLIBSUFFIX="" CURSES_NLS="no" - if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then + if test "$cross_compiling" != "yes"; then + if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes]) if test "$ncursesw5_config" = "yes"; then CURSESINC="<ncurses.h>" @@ -124,8 +125,8 @@ if test x$alsamixer = xtrue; then NCURSESLIBSUFFIX="w" CURSES_NLS="yes" fi - fi - if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then + fi + if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes]) if test "$ncurses5_config" = "yes"; then CURSESINC="<ncurses.h>" @@ -137,6 +138,7 @@ if test x$alsamixer = xtrue; then AC_CHECK_LIB(ncurses, initscr, [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"]) fi + fi fi if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then AC_CHECK_LIB(curses, initscr,
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel