Commit Graph

24 Commits

Author SHA1 Message Date
Trek H 8fdd0169fa helpers: added pcm as SID 2020-12-21 20:55:14 +10:30
Saxon ed626e02ab cmd/rv: did some cleaning and commenting
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30
Saxon 7033d62cc6 cmd/rv: created new revid binary that is only netsender client, not CLI as well 2020-01-27 13:55:09 +10:30
Trek H cd63d0d95a alsa: unexported ringbuffer chunksize
Chunksize can be calculated without needing an ALSA device instance.

Added a DataSize function to pcm package for calculating size of pcm data given relevant attributes.

Removed ChunkSize from config revid config struct.

Changed NewByteLexer to accept an in rather than a pointer.
2019-11-13 19:56:13 +10:30
Saxon 2d5d8f3bdd codec/codecutil/helpers.go: added ADPCM support to SIDToMIMEType 2019-10-01 21:01:45 +09:30
Saxon 2acc729676 codec/codecutil/helpers.go: added helpers.go file with SIDToMIMEType function to provide MIME type given a stream ID 2019-10-01 21:01:45 +09:30
Trek H e63b51e24f codec-util: removed newticker helper 2019-08-02 23:26:15 +09:30
Trek H 8518d931c6 codecutil: made zeroTicks global 2019-07-15 17:55:42 +09:30
Trek H eb4a325981 codecutil: removed unused code 2019-07-15 15:32:42 +09:30
Trek H 72d56e31ee codecutil: updated logic for 0 delay lexing 2019-07-15 15:17:16 +09:30
Trek H be389fca6e syntax and style changes 2019-07-11 14:54:06 +09:30
Trek H 95fc69b3c5 audio: syntax and error checking 2019-06-20 18:04:58 +09:30
Trek H 2d5ba8cd8f audio: added validate functions for device config 2019-06-18 18:35:45 +09:30
Trek H 6dd70639fe audio: removed bufSize arg in Lex funcs and use ByteLexer 2019-06-18 17:24:32 +09:30
Trek H b418944daa codecutil: added ByteLexer struct for configuring buffer size 2019-06-18 14:50:36 +09:30
Trek H 01561e363d codecutil and audio: tests written using test tables 2019-06-14 19:49:49 +09:30
Trek H 9fe09255be audio and revid: changes for pr
added license to lex.go
changed pcm functions to return alsa.Buffers
style, syntax and clarification added to audio.go
new method of finding buffersize in audio.go uses a new function called nearestPowerOfTwo
2019-06-13 23:35:52 +09:30
Trek H 96c1b51173 revid and audio: seperated audio into own package
audio device input is now handle in its own package which resides in the new input directory
a list of codecs was added to codecutil package to help with multiple packages using the same codecs
2019-06-06 02:09:55 +09:30
Trek H 409dcabe0a revid: added codec conversion after recording 2019-06-04 02:31:35 +09:30
Saxon 980cf8da21 codec: H264 and MJPEG lexers now using codecutil package for byte scanner functionality 2019-05-22 11:07:39 +09:30
Saxon 83c0a1464f codec/codecutil: fixed file names in file headers and add package comment. 2019-05-10 14:39:47 +09:30
Saxon ae8ced3a19 codec/codecutil: byte-scanner.go -> bytescanner.go and byte-scanner_test.go -> bytescanner_test.go 2019-05-10 13:55:32 +09:30
Saxon cbbe74b34a codec/codecutil/byte-scanner.go: renamed Scanner type to ByteScanner 2019-05-09 13:51:59 +09:30
Saxon 0effbae4f6 codec: renamed codeutils to codecutil 2019-05-09 13:48:33 +09:30