Skip to content
Snippets Groups Projects
  1. Apr 20, 2016
    • Daniel Verkamp's avatar
      win32: only use dllexport when building DLL · 6e961737
      Daniel Verkamp authored
      If building a static library, marking symbols as dllexport causes them
      to be exported from the final executable. For example, run
      objdump -x opus_demo.exe on a --disabled-shared build and look for the
      export table; there should not be one in a normal Win32 .exe file, but
      when linking static libopus, the exe exports all of the opus_* public
      functions.
      
      Use the libtool-defined DLL_EXPORT flag to determine whether we are
      building a DLL and only specify __declspec(dllexport) in that case.
      6e961737
  2. Jan 08, 2016
  3. Oct 23, 2015
  4. Jun 23, 2015
  5. Feb 20, 2015
  6. Sep 04, 2014
  7. Feb 24, 2014
  8. Nov 15, 2013
  9. Nov 09, 2013
  10. Oct 28, 2013
    • Gregory Maxwell's avatar
      Replace "inline" with OPUS_INLINE. · 7830cf1b
      Gregory Maxwell authored
      Newer versions of MSVC are unhappy with the strategy of the build
       environment redefining "inline" (even though they don't support the
       actual keyword). Instead we define OPUS_INLINE to the right thing
       in opus_defines.h.
      
      This is the same approach we use for restrict.
      7830cf1b
  11. Jun 30, 2013
  12. Jun 17, 2013
  13. May 05, 2013
  14. Feb 20, 2013
    • Jean-Marc Valin's avatar
      Adds support for delayed decision · 51f4a32e
      Jean-Marc Valin authored
      Variable duration option renamed to OPUS_SET_EXPERT_FRAME_DURATION,
      with new API.
      Also moves up the analysis to avoid having to do int->float conversion
      on large buffers.
      51f4a32e
  15. Feb 10, 2013
  16. Dec 04, 2012
  17. Nov 29, 2012
    • Ralph Giles's avatar
      Allow the build files to override OPUS_EXPORT. · 265b6b11
      Ralph Giles authored
      OPUS_EXPORT was conditionalized on OPUS_BUILD, so that symbols
      are export based on public header declarations when building
      opus as a library, but not when those headers are included in
      other programmes. This doesn't address the case when the opus
      source and its caller are both included in the same monolithic
      build.
      
      In that case we want to define OPUS_BUILD, to indicate that we
      are compiling the codec source, but not export the symbols. To
      support this, only define OPUS_EXPORT if it is not already defined.
      This allows build scripts to -DOPUS_EXPORT and override the
      platform-specific attribute decortation in opus_defines.h.
      
      Based on a patch by Sergey Ulanov.
      http://git.chromium.org/gitweb/?p=chromium/deps/opus.git;a=commitdiff;h=6304b9628cb7244e3cc78f740aeb6659562f1857
      265b6b11
  18. Oct 31, 2012
  19. Sep 08, 2012
    • Timothy B. Terriberry's avatar
      Remove large multistream stack buffers. · a40689e6
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      This avoids allocating any buffers on the stack that depend on the
       total channel count.
      Such buffers could easily exceed the size of the
       NONTHREADSAFE_PSEUDOSTACK.
      It also checks the frame_size argument in both the encoder and
       decoder to avoid allocating large stack buffers for opus_encode()
       calls that would fail anyway or opus_decode() calls that would
       never use all that space anyway.
      a40689e6
  20. Aug 12, 2012
    • Gregory Maxwell's avatar
      More doc fixes. · 31cf4e1d
      Gregory Maxwell authored
      In particular we no longer document the default complexity because
      we're not guaranteeing to keep the default value constant.  In the
      future the default may be lowered in order to keep the default
      speed constant.
      31cf4e1d
  21. Aug 09, 2012
    • Timothy B. Terriberry's avatar
      Documentation updates for the CTLs. · 07b8e612
      Timothy B. Terriberry authored
      In addition to general reformatting and cleanup, this fixes a
       couple of important mistakes:
      - The arguments to OPUS_SET_FORCE_CHANNELS are now 1 and 2, not 0
         and 1 (as they were when this was called OPUS_SET_FORCE_MONO).
      - The default encoder mode is now constrained VBR, not unconstrained
         VBR.
      It also documents defaults for all the other parameters.
      07b8e612
  22. Aug 06, 2012
  23. Jul 26, 2012
  24. Jul 18, 2012
  25. Jul 17, 2012
  26. Jul 13, 2012
  27. Jul 11, 2012
  28. Jun 01, 2012
  29. May 31, 2012
  30. May 30, 2012
  31. May 20, 2012
  32. May 16, 2012
  33. Apr 24, 2012
  34. Apr 20, 2012
  35. Mar 06, 2012
    • Ralph Giles's avatar
      Fix documenation typos. · 873fc5b0
      Ralph Giles authored
      Doxygen is smart enough to insert a period if the paragraph
      before the @see directive, which starts a new section, doesn't
      have one. Unfortunately it's not smart enough to convert a
      comma to a period. So while the "description, @see foo" idiom
      used for the CTL documentation scans well in the header file,
      the Doxygen output end up with "description,.\n".
      
      Minimal change to remove the offending commas.
      873fc5b0
  36. Nov 26, 2011
    • Ralph Giles's avatar
      Misc documentation fixes (no code change) · 10ebc02e
      Ralph Giles authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      We use macros to encapsulate the appropriate type and size
      information for the different CTL requests, but the macros
      still need to be used with the _ctl() function call and an
      encoder or decoder instance structure. As such, just listing
      the macro defines is confusing. Adding some examples outside
      the OpusEncoder overview page should help with this.
      
      Also document that OPUS_SET_APPLICATION can take
      OPUS_APPLICATION_RESTRICTED_LOWDELAY.
      10ebc02e
  37. Oct 27, 2011
Loading