changeset 0:0cd01cccc3a0

initial import of aud-fcdev3b source from freecalypso-tools
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Oct 2017 19:47:55 +0000
parents
children 25192a1bc0c3
files aud-fcdev3b/Makefile aud-fcdev3b/mcsi.src aud-fcdev3b/spkrmax.src
diffstat 3 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-fcdev3b/Makefile	Thu Oct 19 19:47:55 2017 +0000
@@ -0,0 +1,23 @@
+BINFILES=	mcsi.cfg mcsi.vol spkrmax.cfg spkrmax.vol
+INSTDIR=	/opt/freecalypso/aud-fcdev3b
+
+all:	${BINFILES}
+
+mcsi.cfg:	mcsi.src
+	../tiaud/compile $< $@
+
+mcsi.vol:	Makefile
+	../tiaud/mkvol 150 $@
+
+spkrmax.cfg:	spkrmax.src
+	../tiaud/compile $< $@
+
+spkrmax.vol:	Makefile
+	../tiaud/mkvol 200 $@
+
+install:	${BINFILES}
+	mkdir -p ${INSTDIR}
+	install -c -m 644 ${BINFILES} ${INSTDIR}
+
+clean:
+	rm -f *.cfg *.vol
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-fcdev3b/mcsi.src	Thu Oct 19 19:47:55 2017 +0000
@@ -0,0 +1,4 @@
+# This audio config switches the voice path to MCSI in TI's
+# so-called "Bluetooth headset" mode.
+
+voice-path 2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-fcdev3b/spkrmax.src	Thu Oct 19 19:47:55 2017 +0000
@@ -0,0 +1,7 @@
+# The purpose of this audio config table is to make the Iota ABB put the
+# downlink audio out at the highest possible output level on EARN&EARP pins,
+# to make the quiet speaker as loud as possible.
+
+speaker ear {
+	gain 6
+}