From: Takashi Iwai Subject: Re: [PATCH v3 0/3] topology: Add external API for building topology data Date: Wed, 12 Aug 2015 16:45:36 +0200 Message-ID: References: <1439313797-6169-1-git-send-email-liam.r.girdwood@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 809A8260412 for ; Wed, 12 Aug 2015 16:45:39 +0200 (CEST) In-Reply-To: <1439313797-6169-1-git-send-email-liam.r.girdwood@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Liam Girdwood Cc: alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org On Tue, 11 Aug 2015 19:23:14 +0200, Liam Girdwood wrote: > > Currently we can build topology binary data files from topology text files. > However it is sometimes necessary for DSP FW vendors to build topology binary > data within a toolset and create topology binary data directly from within > vendor tools. > > This series adds an API to the alsa-lib topology core so that vendor tools > can create topology data directly. > > Changes since V2:- > > o Fixed elem memory leaks on error handling paths > o Fixed indentation. > o Moved container_of and ARRAY_SIZE to local.h > o remove use of unlink() and fixed file permissions. > > Changes since V1:- > > o Split out refactoring of OBJECT_TYPE to SND_TPLG_TYPE_ > o Removed inclusing of type_compat.h from asoc.h Applied all three patches now. The third patch missed the declaration of tplg_add_mixer() & co, which leaded to compile warnings, so I fixed them manually. thanks, Takashi > > Liam Girdwood (1): > core: add convenience macros to local.h > > Mengdong Lin (2): > topology: Add C templates structure for building topology from C > programs > topology: A API calls to directly build topology data from templates > > include/local.h | 7 ++ > include/topology.h | 202 ++++++++++++++++++++++++++++++++ > src/topology/ctl.c | 292 ++++++++++++++++++++++++++++++++++++++++++++++ > src/topology/dapm.c | 183 ++++++++++++++++++++++++++--- > src/topology/elem.c | 17 +++ > src/topology/parser.c | 59 +++++++++- > src/topology/tplg_local.h | 26 ++--- > 7 files changed, 749 insertions(+), 37 deletions(-) > > -- > 2.1.4 >