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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 ACCCAC432C3 for ; Fri, 15 Nov 2019 14:56:41 +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 66AF82053B for ; Fri, 15 Nov 2019 14:56:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="T1krHPtT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66AF82053B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com 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 976301614; Fri, 15 Nov 2019 15:55:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 976301614 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573829794; bh=LVPjF6OPTkoZ8BA8IbYKl+xVnSD2fUvIc7/CGzwmCqU=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=T1krHPtTKyzcuYBtoPFHsxFMrHn6g0sWNLyOl4YYnpoDfNhWrNi1gYKfjlBK3q2gb 9NSBWRR3dAO1BXhvW3XgIQoDXJMjnIHJSAH91z+AF818VTs1ua9UGALX1N+X6ClNFy oGiyvoLplnuxCQO3EqqA4qVuOo3YJ5ut1ltUlKk4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D1808F800FF; Fri, 15 Nov 2019 15:55:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CCB5EF80104; Fri, 15 Nov 2019 15:55:40 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 49404F800FF for ; Fri, 15 Nov 2019 15:55:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 49404F800FF X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 06:55:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,308,1569308400"; d="scan'208";a="214789942" Received: from jdstodda-mobl.amr.corp.intel.com (HELO [10.254.177.96]) ([10.254.177.96]) by fmsmga001.fm.intel.com with ESMTP; 15 Nov 2019 06:55:28 -0800 To: Vinod Koul , Takashi Iwai References: <20191115102705.649976-1-vkoul@kernel.org> From: Pierre-Louis Bossart Message-ID: <19c70dac-aa3e-f0ea-d729-26df4f193eb0@linux.intel.com> Date: Fri, 15 Nov 2019 08:55:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191115102705.649976-1-vkoul@kernel.org> Content-Language: en-US Cc: alsa-devel@alsa-project.org, Banajit Goswami , linux-arm-msm@vger.kernel.org, Patrick Lai , Liam Girdwood , Bjorn Andersson , Mark Brown , linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [RFC PATCH 0/3] ALSA: compress: Add support for FLAC 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 11/15/19 4:27 AM, Vinod Koul wrote: > The current design of sending codec parameters assumes that decoders > will have parsers so they can parse the encoded stream for parameters > and configure the decoder. that's not quite correct. It's rather than there was no need so far for existing implementations to have parameters on decode, this was never a limitation of the design, see e.g. the comments below: /* AAC modes are required for encoders and decoders */ /* * IEC modes are mandatory for decoders. Format autodetection * will only happen on the DSP side with mode 0. The PCM mode should * not be used, the PCM codec should be used instead. */ _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel