changeset 242:f943c439ae5e

ffstools/aud-fcdev3b: created some audio config tables for FCDEV3B
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Aug 2017 01:07:16 +0000
parents 1f3b28d66d53
children b775a457940b
files .hgignore ffstools/Makefile ffstools/aud-fcdev3b/Makefile ffstools/aud-fcdev3b/mcsi.src ffstools/aud-fcdev3b/spkrmax.src
diffstat 5 files changed, 39 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Fri Aug 25 23:57:32 2017 +0000
+++ b/.hgignore	Sat Aug 26 01:07:16 2017 +0000
@@ -5,6 +5,8 @@
 \.bin$
 \.srec$
 
+^ffstools/aud-.*/.*\.cfg$
+^ffstools/aud-.*/.*\.vol$
 ^ffstools/cal2text/fc-cal2text$
 ^ffstools/tiaud/compile$
 ^ffstools/tiaud/decomp$
--- a/ffstools/Makefile	Fri Aug 25 23:57:32 2017 +0000
+++ b/ffstools/Makefile	Sat Aug 26 01:07:16 2017 +0000
@@ -1,7 +1,9 @@
-SUBDIR=	cal2text tiaud tiffs-rd tiffs-wrappers
+SUBDIR=	aud-fcdev3b cal2text tiaud tiffs-rd tiffs-wrappers
 
 all:	${SUBDIR}
 
+aud-fcdev3b:	tiaud
+
 ${SUBDIR}: FRC
 	cd $@; ${MAKE} ${MFLAGS}
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ffstools/aud-fcdev3b/Makefile	Sat Aug 26 01:07:16 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/ffstools/aud-fcdev3b/mcsi.src	Sat Aug 26 01:07:16 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/ffstools/aud-fcdev3b/spkrmax.src	Sat Aug 26 01:07:16 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
+}