Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932626AbbHJSRL (ORCPT ); Mon, 10 Aug 2015 14:17:11 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:37687 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932134AbbHJSRH (ORCPT ); Mon, 10 Aug 2015 14:17:07 -0400 Date: Mon, 10 Aug 2015 19:16:41 +0100 From: Mark Brown To: Russell King - ARM Linux Cc: Takashi Iwai , linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Philipp Zabel , Andy Yan , Yakir Yang , Fabio Estevam , Jaroslav Kysela , Sascha Hauer , Jon Nettleton , David Airlie Message-ID: <20150810181641.GD10748@sirena.org.uk> References: <20150808160936.GN7557@n2100.arm.linux.org.uk> <20150810103921.GR7557@n2100.arm.linux.org.uk> <20150810164941.GW7557@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline In-Reply-To: <20150810164941.GW7557@n2100.arm.linux.org.uk> X-Cookie: if it GLISTENS, gobble it!! User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/9] drm: bridge/dw_hdmi-ahb-audio: add audio driver X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1893 Lines: 46 --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 10, 2015 at 05:49:41PM +0100, Russell King - ARM Linux wrote: > I'm not sure what the right solution is here: modifying every audio > player out there to make HDMI work sanely is crazy. Having alsalib > automatically generate the correct AES channel status bytes for > linear audio formats seems to be sensible, but difficult given its > present structure with the defaults - the iec958 plugin has no idea > if the defaults are being used or not. > The advantage of having the horrid conversion in the kernel is that > we can choose to generate proper AES channel status data without > regard to userspace for standard linear PCM, and when the iec958 plugin > is being used with proper channel status (eg, in compressed audio > pass-through mode by VLC) then that works too. The other advantage of doing it in kernel is that it also fixes tinyalsa applications (which mainly means Android systems) by default for PCM data. --pQhZXvAqiZgbeUkD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVyOqIAAoJECTWi3JdVIfQ5xAH/jgHoxctKQ2yixGAjdkXug5s ShURRpNTK3ikzFITz6wOjB+VP/4CThHJdDEPCnwkQmR/QaCnuz2OpWEqEbfwCDJZ oTpmhz8kIhW2bFM0HLtVP+I8HOYGUK6D8u5cvb1i6CEqzKSfFYqsR6Mrqf8fYznE WbPmtnaX1GGgM+MEgzkUCFMpV/Eth/IHyxKddlubXWlGbxZ2djt3eEiwHXs2IUTC BUNt6dahxPpmWKWeVdWZpcUiX3nPYPGyGGA4F6Uh6BRqTJMSRbxn5hbf9M6x+E+y 7w5+H0zcjJPqF3FTxOIpogWp0asJ5PykNiNqYWH8HZ0vZRqMX8avE20xqbqIpas= =XP20 -----END PGP SIGNATURE----- --pQhZXvAqiZgbeUkD-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/