From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F94DC33CB2 for ; Fri, 31 Jan 2020 10:51:06 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8BA420CC7 for ; Fri, 31 Jan 2020 10:51:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="bUgxTvu+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8BA420CC7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1D148166F; Fri, 31 Jan 2020 11:50:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1D148166F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1580467864; bh=43+j9/Yf6D+bmXQrFHv4RgvvMGaiDcOaZhRGnGeRpIs=; h=Date:From:To:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bUgxTvu+cajg5ivB79d45Y5AqEAtesTW6a4Nx1npttKwCIW7TOuIiNv/Y6KkyBBIC VB5yBdbp4PxJuGozUC40w1ENmAdmU45EO3CkwSYhtgEmIefopDFEn/9wNrFcK1iRHP aaubxLyQUpBWzDHPNp31xJSwpG7QdKaepMAF2KSw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 87C60F80082; Fri, 31 Jan 2020 11:50:13 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 00B19F8021E; Fri, 31 Jan 2020 11:50:11 +0100 (CET) Received: from imap2.colo.codethink.co.uk (imap2.colo.codethink.co.uk [78.40.148.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6C20FF80082 for ; Fri, 31 Jan 2020 11:50:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6C20FF80082 Received: from [78.40.148.177] (helo=localhost) by imap2.colo.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1ixTs8-0001a6-Ej; Fri, 31 Jan 2020 10:50:00 +0000 MIME-Version: 1.0 Date: Fri, 31 Jan 2020 10:50:00 +0000 From: Ben Dooks To: Clemens Ladisch In-Reply-To: <182fd434-f15a-f049-1ba1-83bd864b4590@ladisch.de> 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> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <6ceb0c37867dd9ec9c5285e4470d462b@codethink.co.uk> X-Sender: ben.dooks@codethink.co.uk Cc: linux-kernel@lists.codethink.co.uk, alsa-devel@alsa-project.org, Takashi Iwai , Liam Girdwood , Jon Hunter , Mark Brown , Thierry Reding , Edward Cragg , linux-tegra@vger.kernel.org, Dmitry Osipenko Subject: Re: [alsa-devel] (no subject) X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel