Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754962AbaJ1QEa (ORCPT ); Tue, 28 Oct 2014 12:04:30 -0400 Received: from smtp-out-148.synserver.de ([212.40.185.148]:1111 "EHLO smtp-out-148.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752508AbaJ1QE2 (ORCPT ); Tue, 28 Oct 2014 12:04:28 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: lars@metafoo.de X-SynServer-PPID: 7839 Message-ID: <544FBE77.4020009@metafoo.de> Date: Tue, 28 Oct 2014 17:04:07 +0100 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.8.1 MIME-Version: 1.0 To: Qais Yousef , Clemens Ladisch , linux-kernel@vger.kernel.org CC: Greg Kroah-Hartman , alsa-devel@alsa-project.org, Neil Jones , Arnd Bergmann , devicetree@vger.kernel.org Subject: Re: [alsa-devel] [PATCH 00/11] Add AXD Audio Processing IP driver References: <1414495589-8579-1-git-send-email-qais.yousef@imgtec.com> <544F8439.4080402@ladisch.de> <544F97A4.7080209@imgtec.com> <544FAE35.4000509@metafoo.de> <544FB763.6040904@imgtec.com> In-Reply-To: <544FB763.6040904@imgtec.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/28/2014 04:33 PM, Qais Yousef wrote: > On 10/28/2014 02:54 PM, Lars-Peter Clausen wrote: >> On 10/28/2014 02:18 PM, Qais Yousef wrote: >>> On 10/28/2014 11:55 AM, Clemens Ladisch wrote: >>>> Qais Yousef wrote: >>>>> AXD Audio Processing IP performs audio decoding, encoding, mixing, >>>>> equalisation, >>>>> synchronisation and playback. >>>> What exactly do you mean with "synchronisation" and "playback"? >>> >>> Synchronisation refers to accurate audio playout relative to a master >>> clock source including compensation of drift between the master clock >>> source and the playout clock of the audio hardware. Hence allowing >>> synchronised audio playout across multiple independent devices. >>> >>> Playback simple refers to the fact that AXD is capable of managing audio >>> playout hardware like I2S and SPDIF interfaces. >>> >>> >>>>> It doesn't fit in alsa subsystem but I Cced them to confirm. >>>> ... because those two words sound like something that a sound card could >>>> do. >>> >>> The problem mainly stems from the fact that we take a variety of >>> compressed audio as input and we could perform audio encoding. The >>> problem with the compressed audio is that the range of decoders and >>> configuration supported in alsa is limited and there's no support for >>> taking raw pcm and producing compressed output. I'm not an expert on >>> alsa but when I looked it looked like there's more infra structure >>> required. >>> >>> [...] >> >> This doesn't sound to different from any of the other supported audio >> DSPs. ALSA seems to have 95% of what you need. And the missing 5% is >> probably stuff that is not specific to your hardware but rather something >> that other hardware will need as well. The framework is not set in stone >> you can make modifications and add the features that are missing to make >> your hardware work. >> >> E.g. look at sound/soc/intel/ for an example of a audio DSP. >> >> No integrating this into ALSA will quite likely result in a quite messy >> situation for you on the long run. >> >> - Lars >> >> >> > OK thanks for the reference. To be honest it felt like 15-20% of the > features are missing but I'll need to look at the specifics and > judge/estimate better. Even then you'd want ALSA integration. You (or your customers) will eventually want to hook some external devices up to the I2S or SPDIF ports. All the drivers for the external devices are implemented in ALSA/ASoC. - Lars -- 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/