changeset 3:1d6b649d8b08

aud-gtamodem created
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Oct 2017 19:59:42 +0000
parents 77dacb93fd25
children 4d7c28689911
files aud-gtamodem/Makefile aud-gtamodem/para0.src
diffstat 2 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-gtamodem/Makefile	Thu Oct 19 19:59:42 2017 +0000
@@ -0,0 +1,17 @@
+BINFILES=	para0.cfg para0.vol
+INSTDIR=	/opt/freecalypso/aud-gtamodem
+
+all:	${BINFILES}
+
+para0.cfg:	para0.src
+	tiaud-compile $< $@
+
+para0.vol:	Makefile
+	tiaud-mkvol 150 $@
+
+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-gtamodem/para0.src	Thu Oct 19 19:59:42 2017 +0000
@@ -0,0 +1,22 @@
+# The following audio mode config has been programmed by Openmoko's factory
+# into all GTA02 devices as /aud/para0.cfg in the Calypso flash file system.
+
+voice-path 0
+mic default {
+	gain 3
+	output-bias 0
+	fir  0 0x4000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
+	fir  8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
+	fir 16 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
+	fir 24 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
+}
+speaker ear+aux {
+	gain 0
+	audio-filter 0
+	fir  0 0x0178 0x0AB5 0xF43D 0xFED5 0xFCA7 0x04D8 0x00B8 0x0371
+	fir  8 0x032F 0x0007 0x151C 0xF24C 0x19A6 0xE918 0xF7CD 0x7D0C
+	fir 16 0xF7CD 0xE918 0x19A6 0xF24C 0x151C 0x0007 0x032F 0x0371
+	fir 24 0x00B8 0x04D8 0xFCA7 0xFED5 0xF43D 0x0AB5 0x0178
+}
+sidetone -26
+aec 0 0 0 0 0