From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Francois Moine Subject: Re: [alsa-devel] [PATCH v7.1 00/19] Rework OMAP4+ HDMI audio support Date: Thu, 13 Nov 2014 10:17:38 +0100 Message-ID: <20141113101738.6338bb1c@armhf> References: <20141112222344.GU3815@sirena.org.uk> <54646648.5030807@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp4-g21.free.fr ([212.27.42.4]:52188 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932074AbaKMJOn convert rfc822-to-8bit (ORCPT ); Thu, 13 Nov 2014 04:14:43 -0500 In-Reply-To: <54646648.5030807@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tomi Valkeinen Cc: Mark Brown , Jyri Sarha , peter.ujfalusi@ti.com, liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org On Thu, 13 Nov 2014 10:05:28 +0200 Tomi Valkeinen wrote: [snip] > I don't have much knowledge of the asoc architecture, so I probably > can't comment much on the sound/ side design. For me the most importa= nt > things are that 1) it works 2) I can easily unload/load the modules > (which was broken in some of the earlier versions). >=20 > As a more general discussion item, I'm still wondering why it feels l= ike > we (OMAP) are doing something totally new here. I'd imagine that almo= st > every device with HDMI would need both video and audio side support, = and > those sides need to work together. And the audio side would need to g= et > notified of things like cable disconnect (i.e. the video stream is > stopped -> audio must be stopped also). But if I've understood right, > there was no similar existing code to be found. I recently posted a patch on the HDMI CODEC to interface a HDMI transmitter http://mailman.alsa-project.org/pipermail/alsa-devel/2014-October/08274= 5.html and I saw only a few dependencies between the 2 subsystems: - the CODEC must know the transmitter parameters (DAIs - static -, audio constraints - dynamic -), - the CODEC must alert the transmitter on audio start and stop. I don't think that stopping audio streaming on HDMI disconnection is useful. I even let audio streaming start when the HDMI cable is disconnected. --=20 Ken ar c'henta=C3=B1 | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html