Commit Graph

3982 Commits

Author SHA1 Message Date
Saxon Milton 10ede9dc84 Merged in input-loop-in-device (pull request #438)
device/file & revid/pipeline.go: add looping functionality to file device and removing from processFrom

Approved-by: Trek Hopton
2020-12-21 02:06:21 +00:00
Saxon Nelson-Milton 6993f136c8 device/file/file.go: simplify AVFile.Read() method 2020-12-21 12:13:45 +10:30
Saxon Nelson-Milton 5436272d78 exp/rvcl/main.go: running go fmt 2020-12-21 11:51:21 +10:30
Saxon Milton b1d78621dc Merged in rvcl-default-config-and-rvcl-launch (pull request #437)
exp/rvcl: adding default config option and opening VLC in the case of RTP output

Approved-by: Trek Hopton
2020-12-21 00:50:11 +00:00
Saxon Nelson-Milton 528dfe29e4 exp/rvcl: adding default config param consts and changing flag name 2020-12-21 11:18:35 +10:30
Saxon Nelson-Milton a4a409b4f5 exp/rvcl: adding default config option and opening VLC in the case of RTP output
If no config is given as arguments or file, then a default config is used. This is file input (25 FPS) with MPEG-TS packetization and RTP output. If RTP output is selected, a VLC window to receive the
stream is opened.
2020-12-20 12:03:46 +10:30
Saxon Milton 93d5eb1638 Merged in looper-systemd (pull request #435)
cmd/looper: added build & run utilities including .service file for robust execution

Approved-by: Trek Hopton
2020-12-19 03:28:03 +00:00
Saxon Milton e56b6507f7 Merged master into looper-systemd 2020-12-19 03:16:22 +00:00
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