[alsa-devel] [alsa-lib][PATCH] topology: Fix to skip writing of header for compound elements

Takashi Iwai tiwai at suse.de
Tue Jan 2 16:34:35 CET 2018


On Tue, 02 Jan 2018 06:20:01 +0100,
Guneshwor Singh wrote:
> 
> From: GuruprasadX Pawse <guruprasadx.pawse at intel.com>
> 
> While calculating the size of data to be written into the topology
> binary file, the size of the compound elements is added as well. This
> results in wrong file offset calculation and topology build failure.
> 
> The compound elements shouldn't be written to the topology as these are
> already embedded as part of other elements. So, skip adding the size of
> compound elements to the file offset size calculation.
> 
> Signed-off-by: GuruprasadX Pawse <guruprasadx.pawse at intel.com>
> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty at intel.com>
> Signed-off-by: Guneshwor Singh <guneshwor.o.singh at intel.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list