Rob Watson
417f5d0545
Re-add doctest
2018-04-19 20:32:16 +02:00
Rob Watson
d7d9b2e079
Experimental refactor to a more functional style
2018-04-19 20:29:11 +02:00
Rob Watson
395a6881ef
Prefer exposing `length` key to `complete` boolean
2018-04-19 12:12:23 +02:00
Rob Watson
8c99f55145
fixup! Cleanup
2018-04-19 12:03:50 +02:00
Rob Watson
797a87ded8
Cleanup Frame.parse_sample_rate/1
2018-04-19 10:46:09 +02:00
Rob Watson
491b7462ca
Add TODO
2018-04-18 21:50:43 +02:00
Rob Watson
510420d42d
Cleanup
2018-04-18 21:48:09 +02:00
Rob Watson
f9d6c66f7e
Bug fix: Complete frames as soon as it is possible
...
It should not be necessary to wait for the subsequent sync word to
determine that the current frame is complete - this can be assured
simply back checking the expected frame size against the actual bytes.
This ensures that completed frames are made available immediately, and
avoids dropping a single frame from every binary stream that is
processed.
2018-04-18 13:00:01 +02:00
Rob Watson
82f661cc25
Minor cleanup and fixes
...
- Small refactor to remove a function body
- Check parameter type in Frame.from_header/1
- Prefer doctest to mpeg_audio_frame_parser_test
2018-04-18 13:00:01 +02:00
Rob Watson
d89db0ec49
Add initial implementation
2018-04-17 11:51:12 +02:00
Rob Watson
70828dd5c8
Update README
2018-04-13 13:14:16 +02:00
Rob Watson
dcdcaadd6f
Vanilla Elixir 1.6.3 app
2018-04-13 13:06:37 +02:00
Rob Watson
a7eeba8e89
Initial commit
2018-04-13 13:06:23 +02:00