.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "ALSATPLG" 1 "2018-10-09" "" "General Commands Manual" .SH NAME alsatplg \- ALSA Topology Compiler .SH SYNOPSIS .sp \fIalsatplg\fP [command] .SH DESCRIPTION .sp alsatplg (ALSA Topology compiler) is a program to compile topology configuration file to the binary file for the kernel drivers. .sp Current audio drivers typically hard code topology information in the driver sources: This tightly couples the audio driver to the development board making it time consuming to modify a driver to work on a different devices. The driver is also tightly coupled to the DSP firmware version meaning extra care is needed to keep the driver and firmware version in sync. New firmware features also mean driver updates. .sp The ALSA topology project removes the need for re\-writing or porting audio drivers to different devices or different firmwares: Drivers have no hard coded topology data meaning a single driver can be used on different devices by updating the topology data from the file system. Firmware updates can be pushed without having to update the drivers. The new firmware just needs to include an updated topology file describing the update. .SH OPTIONS .sp Available options: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .TP .B \fB\-h\fP, \fB\-\-help\fP this help .TP .B \fB\-V\fP, \fB\-\-version\fP show the utility version and versions of used libraries .TP .B \fB\-c\fP, \fB\-\-compile\fP \fIFILE\fP source configuration file for the compilation .TP .B \fB\-d\fP, \fB\-\-decode\fP \fIFILE\fP source binary topology file for the decode .TP .B \fB\-n\fP, \fB\-\-normalize\fP \fIFILE\fP parse and save the configuration file in the normalized format .TP .B \fB\-u\fP, \fB\-\-dump\fP \fIFILE\fP parse and save the configuration file in the specified format .TP .B \fB\-o\fP, \fB\-\-output\fP \fIFILE\fP output file .TP .B \fB\-v\fP, \fB\-\-verbose\fP \fILEVEL\fP set verbose level .TP .B \fB\-s\fP, \fB\-\-sort\fP sort the configuration identifiers (set for normalization) .TP .B \fB\-x\fP, \fB\-\-nocheck\fP save the configuration without additional integrity check .TP .B \fB\-z\fP, \fB\-\-dapm\-nosort\fP do not sort DAPM graph items (like in version 1.2.1\-) .UNINDENT .UNINDENT .UNINDENT .SH FILES .sp The master topology files for each supported sound card are in \fB/usr/share/alsa/topology\fP\&. .sp For example, the master use case file for the \fIbroadwell\fP card is in \fB/usr/share/alsa/topology/broadwell/broadwell.conf\fP, this file describes the audio hardware for the driver. .sp For more details on the syntax of UCM files, see the alsa\-lib source code: \fI\%http://git.alsa\-project.org/?p=alsa\-lib.git;a=blob;f=src/topology/parser.c\fP .SH SEE ALSO .INDENT 0.0 .IP \(bu 2 Topology Interface: \fI\%http://www.alsa\-project.org/alsa\-doc/alsa\-lib/group__topology.html\fP .UNINDENT .SH BUGS .sp None known. .SH AUTHOR Jaroslav Kysela .SH COPYRIGHT GPLv2+ .\" Generated by docutils manpage writer. .