i updated to alsa-lib-1.0.14a and now playing an audio file ends up like this: # aplay 02\ system\ of\ a\ down\ -\ b.y.o.b..wav JACK tmpdir identified as [/var/run/jack] Playing WAVE '02 system of a down - b.y.o.b..wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo aplay: set_params:900: Sample format non available with alsa-lib-1.0.14_rc3 everything is fine! Direct output to jack itself works for some seconds, and the it plays with dropouts (it's like someone is pressing pause and play all the time). But this is another story since this behavior is the same with alsa-lib-1.0.14_rc3. i found this here by google: http://bbs.archlinux.org/viewtopic.php?id=34396 sounds like a proper solution, but i don't know if the --with-softfloat option is passed to configure or how to change this behavior. could someone try this out or tell me how to try it? thanks in advance! Reproducible: Always Steps to Reproduce: install alsa-lib-1.0.14a and use the alsa pcm plugin for output to jack. Actual Results: sound doesn't play if it's not passed to jack directly # emerge --info Portage 2.1.3_rc6 (default-linux/amd64/2006.1/desktop, gcc-4.1.2/amd64-vanilla, glibc-2.5-r3, 2.6.21.3 x86_64) ================================================================= System uname: 2.6.21.3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 29 Jun 2007 11:59:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: 2.0.0_rc1-r6 dev-java/java-config: 1.3.7, 2.0.31-r4 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon64 -O2 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-mtune=athlon64 -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_AT@euro" LC_ALL="de_AT.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi aiglx alsa amd64 apache2 asf avi bidi bitmap-fonts browserplugin bzip2 cairo caps cddb cdparanoia cdr cle266 cli cpudetection cracklib crypt cups curl dbus dga divx divx4linux djbfft dri dssi dts dv dvb dvd dvdr dvdread dxr3 edl emboss encode fam ffmpeg firefox flac foomaticdb fortran gd gdbm ggi gif gimpprint glut gmedia gpm gtk2 hal iconv ieee1394 imagemagick isdnlog jack jackmidi joystick jpeg jpeg2k kde kdeenablefinal kerberos ladspa lash lcms libcaca libg++ libsamplerate lirc live logitech-mouse lzo mad midi mikmod mjpeg mng mozsvg mp3 mpeg mudflap musicbrainz mythtv ncurses newspr nls nptl nptlonly nsplugin ogg oggvorbis openal openexr opengl openmp pam pcre perl png postgres ppds pppd python qt3 qt4 quicktime readline realmedia reflection rtc samba sdl session sndfile speex spell spl ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vdr vorbis wmp xanim xcomposite xine xinerama xinetd xml xorg xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ice1712 via82xx usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS i got 3 alsa-devices. a professional card for recording, the onboard sound-device and a TV-card. #cat /proc/asound/cards 0 [M66 ]: ICE1712 - M Audio Delta 66 M Audio Delta 66 at 0xb400, irq 19 1 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with ALC850 at 0x1000, irq 22 2 [SAA7134 ]: SAA7134 - SAA7134 saa7134[0] at 0xf9a00000 irq 16 #cat /etc/asound.conf pcm.!default { type plug slave { pcm "jack" } } pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_9 1 alsa_pcm:capture_10 } } pcm.jack_full { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 2 alsa_pcm:playback_3 3 alsa_pcm:playback_4 4 alsa_pcm:playback_5 5 alsa_pcm:playback_6 6 alsa_pcm:playback_7 7 alsa_pcm:playback_8 8 alsa_pcm:playback_9 9 alsa_pcm:playback_10 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 2 alsa_pcm:capture_3 3 alsa_pcm:capture_4 4 alsa_pcm:capture_5 5 alsa_pcm:capture_6 6 alsa_pcm:capture_7 7 alsa_pcm:capture_8 8 alsa_pcm:capture_9 9 alsa_pcm:capture_10 10 alsa_pcm:capture_11 11 alsa_pcm:capture_12 } } ctl.jack { type hw card 0 } pcm.via { type hw card 1 device 0 } pcm.tvcard { type hw card 2 device 0 } pcm.dmix_via { type dmix ipc_key 1024 ipc_perm 0666 slave { pcm "hw:1,0" period_time 0 period_size 1024 buffer_size 16096 #rate 44100 } bindings { 0 0 } } ctl.dmix_via { type hw card 1 } pcm.dsnoop_via { type dsnoop ipc_key 2048 ipc_perm 0666 slave.pcm "via" slave { period_time 0 period_size 1024 buffer_size 4096 #rate 44100 } bindings { 0 0 1 1 } } pcm.via_duplex { type asym playback.pcm "dmix_via" capture.pcm "dsnoop_via" } pcm.convert { type plug slave { pcm "hw:1,0" format S16_LE channels 1 rate 48000 } }
(In reply to comment #0) > i updated to alsa-lib-1.0.14a and now playing an audio file ends up like this: > > # aplay 02\ system\ of\ a\ down\ -\ b.y.o.b..wav > JACK tmpdir identified as [/var/run/jack] > Playing WAVE '02 system of a down - b.y.o.b..wav' : Signed 16 bit Little > Endian, Rate 44100 Hz, Stereo > aplay: set_params:900: Sample format non available > > with alsa-lib-1.0.14_rc3 everything is fine! > > Direct output to jack itself works for some seconds, and the it plays with > dropouts (it's like someone is pressing pause and play all the time). But this > is another story since this behavior is the same with alsa-lib-1.0.14_rc3. > > i found this here by google: > http://bbs.archlinux.org/viewtopic.php?id=34396 > > sounds like a proper solution, but i don't know if the --with-softfloat option > is passed to configure or how to change this behavior. The patch in question seems to be http://hg-mirror.alsa-project.org/alsa-lib/raw-rev/917d1281c93f.
(In reply to comment #0) > sounds like a proper solution, but i don't know if the --with-softfloat option > is passed to configure or how to change this behavior. If you take a closer look at your emerge --info output, you'll notice the USE_EXPAND ALSA_PCM_PLUGINS .. >ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty > extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null > plug rate route share shm softvol" That variable indeed contains lfloat.
Reported upstream as issue 0003209 (https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3209)
Just committing an updated ebuild to the tree with the necessary modifications to configure.in. Please wait up about an hour and sync again, update to alsa-lib-1.0.14a-r1 and see if that fixes your issue with jack.
(In reply to comment #4) > Just committing an updated ebuild to the tree with the necessary modifications > to configure.in. > > Please wait up about an hour and sync again, update to alsa-lib-1.0.14a-r1 and > see if that fixes your issue with jack. > indeed it fixed the issue. thanks a lot to you christian! :)