From: Ben Dooks Subject: Re: [alsa-devel] (no subject) Date: Fri, 31 Jan 2020 10:50:00 +0000 Message-ID: <6ceb0c37867dd9ec9c5285e4470d462b@codethink.co.uk> References: <29db3df4-6f51-7c0f-1eef-90171f1d233a@codethink.co.uk> <9a5447e2-155c-7e6e-b8f1-95523c6f42c6@gmail.com> <680e2dfd-6f4f-5c96-63b7-97520961dc82@gmail.com> <0e0cd260e39ad293edb881da1c565510@codethink.co.uk> <507dcd5a-672b-61ac-aa7f-af5ff01accff@codethink.co.uk> <28cafc56-095b-68c6-638d-270608a2983f@codethink.co.uk> <3d8544be-af20-f382-85fd-32183365267b@nvidia.com> <1b3c2af4-510e-306c-749a-efffc994b20a@gmail.com> <20200128121315.GD4689@sirena.org.uk> <047c8caa-e715-5295-9794-67ff3e10cea2@gmail.com> <70f344bf-f991-606c-55ab-bdadea27d233@nvidia.com> <2ff97414-f0a5-7224-0e53-6cad2ed0ccd2@gmail.com> <35667c85-67b5-6f6f-ffe8-4fe3455ea4bb@codethink.co.uk> <96ed04cb-24ab-7e4d-bd44-6a4bb7c046ac@ladisch.de> <8161fc88-fa8c-ec92-cc14-1caa5c6f2fe7@codethink.co.uk> <182fd434-f15a-f049-1ba1-83bd864b4590@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <182fd434-f15a-f049-1ba1-83bd864b4590-P6GI/4k7KOmELgA04lAiVw@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Clemens Ladisch Cc: Dmitry Osipenko , Jon Hunter , Mark Brown , linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, Liam Girdwood , Takashi Iwai , Thierry Reding , Edward Cragg , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 2020-01-30 14:58, Clemens Ladisch wrote: > Ben Dooks wrote: >> On 30/01/2020 09:31, Clemens Ladisch wrote: >>> S24_LE: 24-bit samples in 32-bit words, aligned to the LSB >>> S32_LE: 24-bit samples in 32-bit words, aligned to the MSB >>> >>> It is very unlikely that your hardware implements S24_LE. >> >> Which is wrong, since this is exactly what the hardware implements. >> >> The DMA fetches 32 bit words, and then the front end dispatches only >> 24 bits of these to the I2S/TDM > > Which 24 bits? Is the padding in the first byte (S32_LE) or in the > last byte (S24_LE)? I think the low 24 bits are sent from the 32 bit word.