Commit Graph

5 Commits

Author SHA1 Message Date
Rob Watson d7d9b2e079 Experimental refactor to a more functional style 2018-04-19 20:29:11 +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 dcdcaadd6f Vanilla Elixir 1.6.3 app 2018-04-13 13:06:37 +02:00