#!/bin/bash # -*- coding: utf-8 -*- # # nacl_path.sh -- NaCl path export script # # Copyright (C) 2009-2011 Emmanuel Roullit # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. nacl_include_path="$1" nacl_lib_path="$2" if test -z $nacl_include_path || test -z $nacl_lib_path; then echo "Please input the path where NaCl is like the following:" echo "./$0.sh " exit 1 fi echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc it logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-04-20 10:59:58 +0200
committerMark Brown <broonie@kernel.org>2016-04-21 17:16:47 +0100
commit81151cfb6bfe69f1c5a52b795eb005226a322c9e (patch)
tree2d40b3d768daec44ea3a26f9e346932ca97fe85b
parent09184118a8abae030539469848d475adcc0e5839 (diff)
ASoC: hdmi-codec: Add ELD control
ALSA doesn't know about all the different compressed audio formats, so there is no interface to let userspace enumerate the formats that are supported by the connected sink. Exporting the raw ELD bytes to userspace allows an application to select the appropriate audio format depending on the current capabilities of the connected HDMI sink device. Usually userspace then just pretends to ALSA that the data is in one of the raw 16-bit PCM audio formats and relies on the IEC controls to tell the sink how to interpret the data. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Jyri Sarha <jsarha@ti.com> Tested-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>