Commit Graph

26 Commits

Author SHA1 Message Date
trekhopton 2fef4b7fcc cmd/treatment/Makefile: add norebuild option for cross compiling 2024-05-03 15:23:59 +09:30
trekhopton 2cb5475959 Merge branch 'master' into treat-make 2024-05-03 14:58:16 +09:30
Trek Hopton 9f56bee095 cmd/treatment: remove build tags for treatment
This was done because I don't know why this wouldn't build on circleci with the standard pi audio command in pi.go.

cmd/treatment: merge pi.go into main.go

There's no need for two files

Approved-by: Alan Noble
2024-04-17 07:17:57 +00:00
trekhopton 1f5bd11a99 cmd/treatment: customise makefile and put install files in directory
This is to make the makefile in init less complicated.
2024-04-17 16:26:30 +09:30
trekhopton 34097ae91a Merge branch 'treat-pi' into treat-make 2024-04-10 16:24:02 +09:30
trekhopton b5703a88fe cmd/treatment: remove circleci tag
This was done because I don't know why this wouldn't build on circleci with the standard pi audio command in pi.go.
2024-04-10 16:14:55 +09:30
trekhopton 4747b800c7 cmd/treatment: straight copy of init/Makefile
This commit is made so that modifications to this file to strip out the rv related stuff can be tracked.
2024-04-10 16:06:00 +09:30
trekhopton 48051e5d76 cmd/treatment: change pi3 build tags to pi
This is done because we will use the pi zero to drive the speakers for treatment
2024-04-10 15:26:13 +09:30
David Sutton bbbd6baecb Better handle errors in setChannels 2023-07-10 10:35:17 +09:30
David Sutton 701b1f6c3a Add speakerMode checking for treatment. 2023-07-10 10:35:17 +09:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton 25b4b271a1 updating required iot version and making appropriate changes to code 2022-05-25 15:01:24 +09:30
Trek H ccd9c7345c treatment: addressing PR comments 2021-03-04 11:50:05 +10:30
Trek H 78cc2a6ca8 treatment: add support for digital volume control 2021-03-03 21:42:01 +10:30
Trek H d14766d512 treatment: use levelled logging functions 2021-02-15 11:03:37 +10:30
Trek H e3f8af1e78 treatment: restart audio when path changed 2021-02-11 13:25:04 +10:30
Trek H 8b4e28a944 treatment: create and check audiofilepath variable 2021-02-11 09:53:35 +10:30
trekhopton b0e3240ebc treat: make default audio path non relative 2020-10-19 19:32:54 +10:30
Trek H 45e36a6c09 treat: makefile, service and .sh scripts for installing 2020-09-29 16:35:55 +09:30
Trek H a989cd69e0 treat: use aplay not omxplayer 2020-09-14 16:09:24 +09:30
Trek H 52e7881b62 treat: removed debug by default 2020-09-14 11:22:11 +09:30
Trek H 0646c36491 treat: nil read pin and add debug logging 2020-09-10 13:06:22 +09:30
Trek H 5b035a6e77 treatment: included rpi support, renew cmd 2020-08-21 21:21:13 +09:30
Trek H e5e9c31ffb treatment: modify tags, check err on flag 2020-08-19 12:43:56 +09:30
Saxon 9329c30928 cmd/treatment/main.go: fixed file header indentation 2020-08-14 17:26:47 +09:30
Saxon 94825f3db9 cmd/treatment: wrote driver to handle audio playback and recording for sound check 2020-08-14 15:40:22 +09:30