Commit Graph

3862 Commits

Author SHA1 Message Date
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
Trek Hopton 9f4e7439d1 Merged in writerate (pull request #421)
revid: remove writerate parameter and change rate for audio

Approved-by: Saxon Milton
2020-08-14 03:56:04 +00:00
Trek H 5ad8a6ed2d revid: update encder test to use Rate() with float argument 2020-08-14 13:07:03 +09:30
Trek H d13d02e21a Merge branch 'master' into writerate 2020-08-14 13:01:41 +09:30
Trek Hopton 14b49d73c7 Merged in audio-fixes (pull request #420)
Audio fixes

Approved-by: Saxon Milton
2020-08-14 03:30:32 +00:00
Trek H 3ec7eddfed revid: syntax 2020-08-14 12:54:07 +09:30
Trek H 7cf449b5c9 revid: simplify 2020-08-14 12:34:20 +09:30
Trek H 6ecce76602 revid: improve comments 2020-08-14 12:20:51 +09:30
Trek H cc8d205d67 revid: simplify write rate 2020-08-14 11:32:32 +09:30
Trek H 42bf1a379a Merge branch 'master' into audio-fixes 2020-08-13 16:26:25 +09:30
Trek H ddf9707d95 revid: change comment 2020-08-13 16:25:37 +09:30
Trek Hopton 4902c9c43a Merged in audio-order (pull request #419)
revid, alsa: reorder audio setup

Approved-by: Saxon Milton
2020-08-13 06:54:54 +00:00
Trek H abbe35d7a8 alsa: improve documentation 2020-08-13 16:23:19 +09:30