Closed basicmaster closed 7 years ago
It builds, so that's a :+1: from me
I think the moral here though is we need a CI and some tests. I guess a Travis-CI build is in order.
There you go, I'll let you take care of the .travis.yml https://travis-ci.org/Opendigitalradio/dabtools
Can do. BRB
@kylegordon Looks like we are both half way through creating a .travis.yml and they are a bit different. Not sure how to do the collaborative thing on this.
I joined the gitter.im group to see if you were there for a chat, but it all seems a bit quiet. Not to worry though, I think you have it the better/correct way with a cmake based build, rather than the make route I was progressing down. afaict it keeps it more in line with the rest of ODR projects.
Ah. I better join that group. I think CMake is the right way for consistency, so I am going to remove the Make stuff for the avoidance of doubt. I really like Meson, but it's only got traction at the moment in the Gtk and related milieux.
(just copied from my PR to linuxstb/dabtools)
Fixes a read error when non-live sources are used (e.g. cat), as read() then does not return 6144 bytes at once but smaller portions. Furthermore distinguish between read error and EOF.
I just changed the circular buffer in order to read/write multiple bytes instead of a single byte which leads to a significant improvement for me.