Re: [ecasound] Problems with 24/96 over stdin

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sun Apr 19 2009 - 20:05:41 EEST


On Sun, 19 Apr 2009, kls.schlz@email-addr-hidden wrote:

> BUT: How do I get rid of the 8 extra bits when sending the stream to my
> 24 bit sound card? Currently it seems I have an 8bit attentuation
> ongoing.

yikes. That suggests that mpd is using yet another encoding, i.e. 24bits
in 32bit words, but with most-significant 8bits padded to zero.

Is volume ok with aplay..?

> | ecasound -q -B:rt -b:64 -r:80 -f:s32_le,2,96000,i -i:stdin -f:s24_le,2,96000,i -o:alsaplugin,0,0 2>/dev/null

If the above hypothesis is correct, adding "-ea:25600" should get the
volume back to its original level (effectively bitshifting each sample
left by 8). The real-fix would be to figure out what exact format
mpd is sending...

Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32.
Ecasound-list mailing list
Received on Sun Apr 19 20:15:04 2009

This archive was generated by hypermail 2.1.8 : Sun Apr 19 2009 - 20:15:04 EEST