Commit Graph

3924 Commits

Author SHA1 Message Date
Saxon Milton 1d44d1f9f3 Merged in fix-circleci-tests (pull request #436)
fixed various things particularly use of %w formatting directive in wrong places to satisfy repo testing
2020-12-19 03:15:46 +00:00
Saxon Nelson-Milton 606b784f5e fixed various things particularly use of %w formatting directive in wrong places to satisfy repo testing 2020-12-19 13:43:23 +10:30
Saxon Nelson-Milton 1a4ba41322 cmd/looper: added build & run utilities including .service file for robust execution 2020-12-19 13:00:41 +10:30
Saxon Nelson-Milton 6506a3021f device/file & revid/pipeline.go: add looping functionality to file device and removing from processFrom 2020-12-19 12:52:49 +10:30
Saxon Nelson-Milton 6fd5fe55cb .circleci/config.yml: update required go version from 1.13 to 1.15.2 2020-12-17 21:51:34 +10:30
Saxon Nelson-Milton 27c90ad852 running go fmt over repos 2020-12-17 21:38:10 +10:30
Saxon Milton 528733c559 Merged in pipeline-error-handling (pull request #434)
revid/pipeline.go: improved handling of undefined pipeline permutations

Approved-by: Trek Hopton
2020-12-16 10:29:48 +00:00
Saxon Nelson-Milton e42b0ea428 revid/pipeline.go: improved handling of undefined pipeline permutations
We no longer panic for undefined pipeline permutations that have got past config package validation i.e. it's not possible to crash revid from setting things remotely incorrectly
2020-12-16 15:16:40 +10:30
Saxon Milton 2f75e6a291 Merged in remove-locks (pull request #433)
revid: removed mutex locking and put unexported pipeline specific code in pipeline.go

Approved-by: Trek Hopton
2020-12-16 04:02:24 +00:00
Saxon Nelson-Milton d7de7b2b5b revid: removed mutex locking and put unexported pipeline specific code in pipeline.go 2020-12-16 13:26:27 +10:30
Saxon Nelson-Milton 27f5f6ca83 revid/revid.go: removed useless fmt.Sprintf call 2020-12-15 19:26:39 +10:30
Saxon Milton aaafe66cc2 Merged in simplify-mts-enc-setup (pull request #432)
revid/revid.go: simplified switch in anon func given to setupPipeline that deals with MTS encoder setup
2020-12-15 08:50:01 +00:00
Saxon Nelson-Milton 3f41014eab revid/revid.go: simplified switch in anon func given to setupPipeline that deals with MTS encoder setup 2020-12-15 19:17:12 +10:30
Saxon Milton e318690e83 Merged in remove-alsa-openerror (pull request #431)
device/alsa/alsa.go: removed OpenError
2020-12-14 05:32:01 +00:00
Saxon Nelson-Milton 67a0771c32 device/alsa/alsa.go: removed OpenError 2020-12-14 15:56:33 +10:30
Trek Hopton e4e03b4ed1 Merged in treat-start (pull request #430)
Install and run treatment at startup

Approved-by: Saxon Milton
2020-10-23 01:06:22 +00:00
Trek H 828c50f7ae treat: bump to iot v1.3.0 2020-10-21 11:55:02 +10:30
Trek H 15c5184983 treat: remove run as pi user
this is done because the treatment program needs to be run as root to write to gpio
2020-10-20 21:41:08 +10:30
trekhopton b0e3240ebc treat: make default audio path non relative 2020-10-19 19:32:54 +10:30
Trek H 55e583cdb5 treat: replace rv with treatment 2020-09-29 16:46:57 +09:30
Trek H 45e36a6c09 treat: makefile, service and .sh scripts for installing 2020-09-29 16:35:55 +09:30
Trek Hopton 96a3b130b8 Merged in aplay-treat (pull request #429)
treat: use aplay not omxplayer
2020-09-14 06:43:08 +00:00
Trek H a989cd69e0 treat: use aplay not omxplayer 2020-09-14 16:09:24 +09:30
Trek Hopton e468f155d8 Merged in t-debug (pull request #428)
treat: nil read pin and add debug logging

Approved-by: Saxon Milton
2020-09-14 02:15:24 +00:00
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 Hopton a2e0b63f8b Merged in gmod-iot (pull request #427)
gomod: update iot version
2020-09-04 06:41:45 +00:00
Trek H c6bf651f56 gomod: update iot version 2020-09-04 15:47:56 +09:30
Trek Hopton 4bff0f25f5 Merged in alsa-err (pull request #426)
alsa: improve error handling

Approved-by: Saxon Milton
2020-09-04 01:36:26 +00:00
Trek H 744a33d6be alsa: improve error handling 2020-09-03 16:44:22 +09:30
Trek Hopton d141426cbd Merged in treatment-newmods (pull request #425)
treatment: create new command for each run, rpi support

Approved-by: Saxon Milton
2020-08-22 07:02:15 +00:00
Trek H 9e3eaecf07 treatment: go mod tidy 2020-08-22 10:52:05 +09:30
Trek H 44801e6f71 Merge branch 'master' into treatment-newmods 2020-08-22 10:49:45 +09:30
Trek H 0cd7b8686c treatment: go mod tidy 2020-08-22 10:41:00 +09:30
Trek H 2a1125b7e7 treatment: upgrade iot version used 2020-08-22 10:36:16 +09:30
Trek Hopton 755b9a6687 Merged in channel-nego (pull request #424)
alsa: negotiate requested num of channels, fix error logging and checking

Approved-by: Saxon Milton
2020-08-21 12:05:03 +00:00
Trek H 5b035a6e77 treatment: included rpi support, renew cmd 2020-08-21 21:21:13 +09:30
Trek H 926b1f0833 merge 2020-08-21 16:22:10 +09:30
Saxon Milton bfaa33aa99 Merged in treatment (pull request #422)
cmd/treatment: driver to handle audio playback and recording with speaker/mic module

Approved-by: Trek Hopton
2020-08-21 06:49:49 +00:00
Trek H c86e3c4ce9 alsa: improve error checking 2020-08-21 14:34:13 +09:30
Trek H a475b6f67f alsa: try requested channel 2020-08-21 14:13:15 +09:30
Trek H 6ab9b145d8 Merge branch 'master' into treatment 2020-08-20 09:28:15 +09:30
Trek H d9393b46b0 alsa: negotiate channels both stereo and mono, also fix error handling 2020-08-19 16:55:35 +09:30
Trek H e5e9c31ffb treatment: modify tags, check err on flag 2020-08-19 12:43:56 +09:30
Trek Hopton 9cf63fdf20 Merged in audio-pin (pull request #423)
revid: add S0 to pins that are sent via HTTP
2020-08-18 02:59:57 +00:00
Trek H cca5582acb revid: simplify syntax 2020-08-15 17:38:45 +09:30
Trek H e72ebe2f06 revid: add S0 to pins that are sent via HTTP 2020-08-14 23:04:56 +09:30
Saxon 9329c30928 cmd/treatment/main.go: fixed file header indentation 2020-08-14 17:26:47 +09:30
Saxon e3e81b9a91 fixed merge conflicts 2020-08-14 17:25:02 +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