Skip to content
Snippets Groups Projects
  1. 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
    • Ralph Giles's avatar
      Remove obsolete #ifdef OPUS_BUILD. · 83f8012c
      Ralph Giles authored
      We always define OPUS_BUILD, so this code has no effect.
      Likewise there is no reason for it to be conditional.
      According to Jean-Marc it's left over from when we had
      an alternate CELT_BUILD define.
      83f8012c
  2. Nov 27, 2012
    • Gregory Maxwell's avatar
      Guard _BitScanReverse on MSVC so that MSVC 6 doesn't break. · 07418d9d
      Gregory Maxwell authored
      This also adds some extra casts to shut up compiler warnings
       reported on MSVC 6 where there is implicit truncation for the
       arguments of bitexact_cos().
      Lacking access to CLZ/BSR will make the code a fair bit slower but
       that is better than failing to compile.
      07418d9d
  3. Nov 22, 2012
  4. Nov 19, 2012
  5. Nov 14, 2012
    • Ralph Giles's avatar
      Enable maintainer mode by default on automake 1.11 · 14454c49
      Ralph Giles authored
      Passing 'enable' as an argument to AM_MAINTAINER_MODE flips the
      default to enabled, rather than disabled until automake 1.11.
      This is a safer default for a developer-oriented library.
      
      ./configure --disable-maintainer-mode is still available for
      packagers who what to preserve the upstream build distribution.
      
      On earlier automake versions, the argument appears to have no
      effect, so there is no behaviour change for developers using
      older autotools.
      
      Based on a patch for opusfile by ron@debian.org.
      14454c49
  6. Nov 13, 2012
  7. Nov 12, 2012
  8. Nov 11, 2012
  9. Nov 09, 2012
  10. Nov 08, 2012
  11. Nov 07, 2012
  12. Nov 06, 2012
  13. Nov 05, 2012
  14. Nov 03, 2012
  15. Nov 02, 2012
Loading