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:49:08 +0200 [thread overview]
Message-ID: <1505198948.26012.15.camel@embedded.rocks> (raw)
In-Reply-To: <3587a5fe-6624-109b-d291-10ee592f02ba@ladisch.de>
On Tue, 2017-09-12 at 08:19 +0200, Clemens Ladisch wrote:
> Jörg Krause wrote:
> > On Fri, 2017-09-08 at 12:52 +0200, Clemens Ladisch wrote:
> > > 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:
>
> That post talks about S24_LE. I was asking about the actual hardware.
The i.MX6UL has a Synchronous Audio Interface (SAI), where the data in
the FIFO can be aligned anywhere within the 32-bit wide register
through the use of the First Bit Shifted configuration field. In the
corresponding Linux SAI driver the FBS field is set the way that data
alignment for 24-bit data is:
31 30 29 28 | 27 26 25 24 | 23 22 21 20 | .. | 3 2 1 0
## ## ## ## ## ## ## ## [ DATA[23:0] ]
> > Meaning the left-most byte is zeroed, right?
>
> What does "left" mean when talking about memory?
I should have said MSB first.
_______________________________________________
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:49 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
2017-09-12 6:19 ` Clemens Ladisch
2017-09-12 6:49 ` Jörg Krause [this message]
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=1505198948.26012.15.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.