# HG changeset patch # User Mychaela Falconia # Date 1623632244 0 # Node ID 677abb56abac8b6283913168f7ade7c7c1f32769 # Parent 223db079c77fe2ca8fc078f28a5f3f31837d36cb create aud-minimal mode config Our FreeCalypso handset firmware will soon start requiring audio mode configuration files. handfree and headset modes can be omitted on targets that have no headset or loudspeaker support, but the basic handheld mode will always be required - if audio mode loading fails, then volume control via RV Audio Service won't work. The minimal handheld mode config created here should be correct for all currently supported targets. diff -r 223db079c77f -r 677abb56abac Makefile --- a/Makefile Sat Jun 02 19:22:48 2018 +0000 +++ b/Makefile Mon Jun 14 00:57:24 2021 +0000 @@ -1,4 +1,4 @@ -SUBDIR= aud-fcdev3b aud-gtamodem +SUBDIR= aud-fcdev3b aud-gtamodem aud-minimal all: ${SUBDIR} diff -r 223db079c77f -r 677abb56abac aud-minimal/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aud-minimal/Makefile Mon Jun 14 00:57:24 2021 +0000 @@ -0,0 +1,17 @@ +BINFILES= handheld.cfg handheld.vol +INSTDIR= /opt/freecalypso/aud-minimal + +all: ${BINFILES} + +handheld.cfg: handheld.src + tiaud-compile $< $@ + +handheld.vol: Makefile + tiaud-mkvol 150 $@ + +install: ${BINFILES} + mkdir -p ${INSTDIR} + install -c -m 644 ${BINFILES} ${INSTDIR} + +clean: + rm -f *.cfg *.vol diff -r 223db079c77f -r 677abb56abac aud-minimal/handheld.src --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aud-minimal/handheld.src Mon Jun 14 00:57:24 2021 +0000 @@ -0,0 +1,6 @@ +# On all Calypso targets which we currently support (both native and alien), +# the default "handheld" audio path uses primary EARN&EARP outputs and +# primary MICIN&MICIP inputs. + +mic default +speaker ear