Commit Graph

10 Commits

Author SHA1 Message Date
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
Trek H 796a3b9a97 pcm: changed term clip to buffer 2019-11-13 16:54:41 +10:30
Trek H 3a7c2c5c5e pcm: removed unused sample formats 2019-11-13 14:00:52 +10:30
Trek H 678245c634 pcm: fix string format 2019-11-13 12:30:48 +10:30
Trek H 5e472ba4c9 pcm: refactored to be general not alsa only
Addition of new structs and helper functions for passing around pcm clips/buffers and their formats so that we don't have to import and rely on yobert/alsa code.

Updated any commands and alsa package to use refactored code.
2019-11-12 21:24:08 +10:30
Trek H fb12a2f69e pcm, audio: style changes 2019-06-17 13:29:01 +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 29e49a7a1c adpcm, pcm: updated documentation 2019-05-08 20:04:40 +09:30
Trek H f597a04289 pcm: changed location to codec 2019-04-09 15:42:44 +09:30