> On Mon, Oct 28, 2013 at 12:53:34PM +0100, Clemens Ladisch wrote: >Roger wrote: >> Trying to reduce my left and right channels to 0.5, but am noticing ALSA is >> only reading values specified as floating as "0". >> >> The below should reduce the volume slightly on channels left (0) and right >> (0), >> but it's obvious I'm getting the channel set to zero (0) or off. >> >> pcm.myHDMI { >> type route slave { >> pcm "hw:1,7" >> format S32_LE >> channels 6 } >> ttable { >> 0.0= 0.9 >> 1.1= 0.9 >> 2.4= 1 >> 3.5= 1 >> 4.2= 1 >> 5.3= 1 >> } >> } > >The ttable entries are floating-point numbers, except when alsa-lib was >configured --with-softfloat.
I guess just what I needed to hear. However... --- Snip --- configure:12281: checking for softfloat configure:12299: result: no configure:7609: checking for inttypes.h configure:7609: x86_64-pc-linux-gnu-gcc -c -Ofast -march=corei7 -pipe -D_GNU_SOURCE conftest.c >&5 configure:7609: $? = 0 configure:7609: result: yes | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ --- Snip --- I don't see much else within config.log concerning int/float, except for floating relevant to stream types. Looking over the Gentoo ebuild package script: --disable-maintainer-mode --enable-shared --disable-resmgr --enable-rawmidi --enable-seq --enable-aload This is =media-libs/alsa-lib-1.0.27.1. I'll try stepping down to media-libs/alsa-lib-1.0.26-r1. -- Roger http://rogerx.freeshell.org/ ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user