1. 08 Jul, 2020 1 commit
  2. 18 Jun, 2020 1 commit
  3. 16 Jun, 2020 2 commits
  4. 14 Jun, 2020 4 commits
  5. 13 Jun, 2020 11 commits
  6. 12 Jun, 2020 2 commits
  7. 11 Jun, 2020 2 commits
  8. 09 Jun, 2020 1 commit
  9. 01 Jun, 2020 3 commits
    • Ralph Giles's avatar
      Build trivial_example by default. · 72a3a6c1
      Ralph Giles authored
      Add doc/trivial_example.c to the autotools build so we get
      some minimal verification that the code compiles.
      Signed-off-by: Mark Harris's avatarMark Harris <mark.hsj@gmail.com>
    • Ralph Giles's avatar
      trivial_example: Check the return value of fread(). · fefcad37
      Ralph Giles authored
      Silence a gcc warning by checking the return value of the fread()
      call instead of the feof() guard. This prevents an infinite loop
      in the case of a read error. Otherwise, when end-of-file is reached
      fread() will certainly return a smaller number of elements read
      than requested, so both cases are handled now.
      Add a comment to clarify that we're dropping a partial frame on
      purpose to keep the code simple.
      Also add more braces around conditional bodies for less error-prone
      Signed-off-by: Mark Harris's avatarMark Harris <mark.hsj@gmail.com>
    • Ralph Giles's avatar
      trivial_example: open raw pcm files in binary mode. · 1168a29e
      Ralph Giles authored
      The simple codec round-trip example file in the doc directory
      opens an input and output pcm file. It was working fine on
      POSIX systems, but not on Windows, which treats text files
      This is confusing in a example, so it's better to add an
      explicit binary flag to the fopen() calls. This does nothing
      on unix-like systems, but should make the example work for
      developers on Windows.
      Thanks to Wavesonics who reported this on irc.
      Signed-off-by: Mark Harris's avatarMark Harris <mark.hsj@gmail.com>
  10. 26 May, 2020 1 commit
  11. 10 May, 2020 2 commits
  12. 26 Apr, 2020 1 commit
  13. 21 Apr, 2020 9 commits