From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: Clemens Ladisch <clemens@ladisch.de>, alsa-devel@alsa-project.org
Subject: Re: [PATCH] pcm: softvol: add support for S24_LE
Date: Tue, 12 Sep 2017 08:13:37 +0200 [thread overview]
Message-ID: <1505196817.26012.4.camel@embedded.rocks> (raw)
In-Reply-To: <720f5f32-9d90-35a5-ec4c-9b0af013f905@ladisch.de>
On Fri, 2017-09-08 at 12:52 +0200, Clemens Ladisch wrote:
> Jörg Krause wrote:
> > Tested with a Wolfson WM8524 DAC on a i.MX6UL board running Linux version
> > 4.13.0-next-20170907.
> > + case SND_PCM_FORMAT_S24_LE:
> > + /* 24bit samples, fallthrough */
> > case SND_PCM_FORMAT_S32_LE:
>
> S24_LE cannot be handled with the same algorithm as S32_LE.
That would have been too easy.
> I suspect that the hardware does not actually use S24_LE, and
> that the driver uses the wrong label for this format.
Maybe you are right about that. I will have a look.
> Please describe exactly how the 24-bit sample is aligned into
> the 32-bit memory cell.
According to this old post [1] it is aligned as followed:
00ffff3f 00ffff3f 00ebd96e 00ebd96e 00ffff7f 00ffff7f
Meaning the left-most byte is zeroed, right?
[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2008-July/0090
99.html
Best regards,
Jörg Krause
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2017-09-12 6:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 10:11 [PATCH] pcm: softvol: add support for S24_LE Jörg Krause
2017-09-08 10:52 ` Clemens Ladisch
2017-09-12 6:13 ` Jörg Krause [this message]
2017-09-12 6:19 ` Clemens Ladisch
2017-09-12 6:49 ` Jörg Krause
2017-09-12 7:02 ` Clemens Ladisch
2017-09-12 7:12 ` Takashi Iwai
2017-09-12 14:15 ` Jörg Krause
2017-09-12 14:32 ` Takashi Iwai
2017-09-12 14:53 ` Takashi Sakamoto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505196817.26012.4.camel@embedded.rocks \
--to=joerg.krause@embedded.rocks \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.