Skip to content
Snippets Groups Projects
  1. Aug 24, 2013
  2. Aug 23, 2013
  3. Aug 21, 2013
  4. Aug 20, 2013
  5. Aug 19, 2013
  6. Aug 12, 2013
    • Timothy B. Terriberry's avatar
      Fix an uninitialized variable. · 8f26e5a1
      Timothy B. Terriberry authored
      Surprisingly, the actual initial value of this variable is
       irrelevant, since we always insert 24 bits of data into and then
       read only those bits out.
      However, fixing this still removes undefined behavior and removes
       extraneous register dependencies.
      8f26e5a1
    • Timothy B. Terriberry's avatar
      Minor UTF-8/UTF-16 cleanups. · cfa59561
      Timothy B. Terriberry authored
      - Reject 'not a character' values 0xFFFE and 0xFFFF.
      - Remove some unnecessary string length checks.
      cfa59561
  7. Aug 10, 2013
  8. Aug 08, 2013
  9. Aug 06, 2013
  10. Jul 15, 2013
    • Timothy B. Terriberry's avatar
      Add a gain control API. · 7aea3cae
      Timothy B. Terriberry authored
      A new op_set_gain_offset() allows the application to provide its own
       offset to the current decoder gain setting, as well as specify what
       offsets should be applied.
      The header gain alone is still the default, but the application may
       also request that the track gain be applied, or that neither be
       applied.
      
      In addition, an op_get_track_gain() function can parse the track
       gain out of a set of comment tags.
      This is mainly provided as a convenience for applications that need
       this information, so they don't have to write their own parser.
      7aea3cae
    • Timothy B. Terriberry's avatar
      API documentation updates. · e15e3621
      Timothy B. Terriberry authored
      - Provide an Overview section which describes some of the general
         design decisions of the libopusfile API.
      - Explicitly state that we always decode at 48 kHz.
      - Make it clearer that we always apply the header gain.
      - Document the automatic soft-clipping support.
      - Document that stream open failure does not close the source.
      - Other minor fixes.
      
      Thanks to tangobravo and siriusbtx for asking the questions which
       prompted this update.
      e15e3621
    • Timothy B. Terriberry's avatar
      Plug possible memory leak on stream open failure. · 68f18feb
      Timothy B. Terriberry authored
      Not all the failure paths cleaned up after themselves properly.
      Thanks to tangobravo for complaining about similar issues in
       libvorbisfile, which prompted me to audit this code.
      68f18feb
    • Timothy B. Terriberry's avatar
      Avoid using a long-long literal for OP_INT64_MAX. · 6587f1de
      Timothy B. Terriberry authored
      The LL suffix isn't C89, so it may not work everywhere.
      6587f1de
    • Timothy B. Terriberry's avatar
      Typo fix. · f83826bc
      Timothy B. Terriberry authored
      f83826bc
  11. Jul 02, 2013
    • Ron's avatar
      Always try to update the version when autogen.sh is run · 884aa610
      Ron authored
      This avoids at least one case where ./autogen.sh && ./configure && make
      will re-run configure because the makefile rules updated something that
      it depends upon. Pulling a new version from git will change the version
      so we should update that at the first step rather than iterating after
      the last one.
      884aa610
  12. Jun 28, 2013
    • Ron's avatar
      Switch to using config.h for configuration options · 1eff2631
      Ron authored
      The main motivation for this is it ensures the files will actually be
      rebuilt if the configuration options are changed.
      1eff2631
    • Ron's avatar
      More autoconf housekeeping · c939c736
      Ron authored
      Don't let AC_SEARCH_LIBS([lrintf]) add -lm to LIBS, otherwise we'll
      unconditionally link everything with it.
      
      Correctly handle the third possibility of AC_SEARCH_LIBS, that no
      library at all was found.
      
      Link libopusfile with $lrintf_lib, it uses it and will otherwise fail
      with linkers that use --no-add-needed / --no-copy-dt-needed-entries.
      
      Don't bother to test for doxygen if using it is --disable'd.
      c939c736
  13. May 18, 2013
    • Ron's avatar
      Use m4_esyscmd instead of m4_esyscmd_s · 8df43f7c
      Ron authored
      We shouldn't ever have any trailing newlines that need trimming here,
      and the _s version wasn't added to m4sugar.m4 until autoconf 2.63b,
      so this will let it work with 2.13 again.
      8df43f7c
  14. May 15, 2013
  15. May 13, 2013
    • Ron's avatar
      Typo fix · 56be23fa
      Ron authored
      56be23fa
    • Ron's avatar
      Drop the x's from shell tests · 4ed5f102
      Ron authored
      Partly just to give us an extra commit to test the versioning,
      but they really aren't needed in any of those cases, and now
      we're consistent about not using them everywhere.
      4ed5f102
Loading