1. 02 Sep, 2003 2 commits
    • Monty's avatar
      · 1f870a8b
      Monty authored
      vorbisfile has a flaw where a bad link is not initialized [proper
      behavior], but it would attempt to initialize and play that link
      anyway, getting a segfault.  The easiest way to deal was to improve
      libvorbis's error checking on dsp initialization if an app (in this
      case, vorbisfile) tries to call init on a blank vorbis_info structure.
      
      read and seek calls will now return 'OV_EBADLINK' in this case.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=5278
      1f870a8b
    • Monty's avatar
      · 2c1a192f
      Monty authored
      Kill bug #434 (ov_test/ov_test_open fails)
      
      svn path=/trunk/vorbis/; revision=5274
      2c1a192f
  2. 27 Aug, 2003 1 commit
    • Monty's avatar
      · 5ff1f8de
      Monty authored
      Several more halfrate fixes:
      
      1) crosslapping was using the wrong windowsizes (fullrate for
      halfrate) for overlap; this would usually still work fine, so the bug
      went unnoticed.
      
      2) fixed a segfault from multiple lapped seeks happening with no
      decode happening between.
      
      svn path=/trunk/vorbis/; revision=5252
      5ff1f8de
  3. 18 Aug, 2003 1 commit
    • Monty's avatar
      · 938f4699
      Monty authored
      Vorbisfile API addition for game and mod coders;
      
      Do a 'free' sample rate conversion from source rate to half source
      rate by calling ov_halfrate() after ov_open(); Although this is solid
      for immediately desired usage, I want to clean it up a bit before
      advertising it's existence, so no doc addition yet.
      
      Does not break binary API.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=5222
      938f4699
  4. 11 Mar, 2003 1 commit
    • Monty's avatar
      · 4bda05c6
      Monty authored
      Vorbisfile raw seeking failed unit tests on a one-audio-page saple;
      committing fix.
      
      svn path=/trunk/vorbis/; revision=4475
      4bda05c6
  5. 06 Mar, 2003 1 commit
    • Monty's avatar
      · b4cc312e
      Monty authored
      Complete crosslap API for Vorbisfile
      
      More Vorbisfile seeking cleanup
      
      Bitrate tracking changes (vorbisfile again) to be more accurate
      immediately after seek
      
      Go to static window arrays for Vorbis window... better check this one
      on Win32 (passing around static array pointers cross-lib... is that a
      nono in win32 DLLs?)
      
      svn path=/trunk/vorbis/; revision=4419
      b4cc312e
  6. 04 Mar, 2003 1 commit
    • Monty's avatar
      · 49cf037a
      Monty authored
      OPtimized case of seeking within a single link; reset decode state
      without dumping decode setup.  Roughly 5-10x faster this way.
      
      Raft of small vorbisfile seek fixes (nearly all to do with exact
      positioning around stream boundaries).
      
      svn path=/trunk/vorbis/; revision=4404
      49cf037a
  7. 02 Mar, 2003 2 commits
    • Monty's avatar
      · e4e06baa
      Monty authored
      Some cleanup of ov_crosslap function
      
      svn path=/trunk/vorbis/; revision=4393
      e4e06baa
    • Monty's avatar
      · 91b4f011
      Monty authored
      Experimental addition to the vorbisfile API that required a few
      modifications elsewhere:
      
      added 'ov_crosslap()' such that decode of a second clip can be primed
      witht he MDCT overlap of a previous clip; this entirely eliminates any
      click on sample boundaries that should otherwise match, but have a
      small step error due to encoding being lossy.  It will also smooth
      transitions in general purpose loops.  More detailed docs to come
      after more testing.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=4387
      91b4f011
  8. 26 Oct, 2002 1 commit
  9. 11 Oct, 2002 1 commit
    • Monty's avatar
      · 7c5ed42a
      Monty authored
      Fix ov_time_tell bug for non-seekable streams
      
      svn path=/trunk/vorbis/; revision=3994
      7c5ed42a
  10. 06 Jul, 2002 1 commit
  11. 29 Mar, 2002 1 commit
  12. 19 Mar, 2002 1 commit
    • Monty's avatar
      · e2b98841
      Monty authored
      Fix _fecth_and_process_packet for non-seekable streams
      
      svn path=/trunk/vorbis/; revision=3166
      e2b98841
  13. 07 Mar, 2002 1 commit
    • Monty's avatar
      · 7c70c4e6
      Monty authored
      Numerous vorbisfile fixes:
      
      Fixed a seek bug that didn't cause any wrong answers but did have a
      minor negative impact on seeking performance
      
      Corrected ov_read_float() prototype ot more closely match how
      ov_read() is used.
      
      Rendered all of vorbisfile 64 bit clean for >2GB files.  This required
      changing ov_seek_raw(OggVorbis_File *vf,long position) to
      ov_seek_raw(OggVorbis_File *vf,ogg_int64_t position).  This breaks lib
      compatability for those using this function, please increment the
      version number.
      
      Fixed vorbisfile handling of logical streams that begin at a non-zero
      PCM offset.  captured live streams, and cut streams, for example, now
      behave.
      
      svn path=/trunk/vorbis/; revision=3126
      7c70c4e6
  14. 04 Mar, 2002 1 commit
    • Monty's avatar
      · 6381cf78
      Monty authored
      Vorbisfile wasn't obeying documentation;
      
      If an open() failed, but the file *was* Vorbis (eg, due to a
      filesystem fault or buggy callback) vorbisfile was closing the passed
      in file handle, contrary to docs.  Fixed in this commit.
      
      svn path=/trunk/vorbis/; revision=3121
      6381cf78
  15. 28 Feb, 2002 2 commits
    • Monty's avatar
      · 52718415
      Monty authored
      fix one more beginning of stream braino; chained files pass seeking
      test now as well.
      
      svn path=/trunk/vorbis/; revision=3117
      52718415
    • Monty's avatar
      · d8282fdb
      Monty authored
      Single link files seeking fixes:
      
      fix pcm exact seeking at very beginning (a rejected packet was being
      interpreted as a negative pcm offset) and very end of files (short
      final frames require processing from previous page's granulepos to get
      length of final frame correct)
      
      svn path=/trunk/vorbis/; revision=3115
      d8282fdb
  16. 22 Jan, 2002 1 commit
    • Monty's avatar
      · 8bc503a5
      Monty authored
      Fixed a memory management error in the new codebook code
      Removed final-stage infinite shift buffer; now a no-copy
       double buffer; removes another 70kB nominal from decode
       with slight speed improvement (~2%)
      
      there's still an exact-position seek bug found by seeking_example to
      track down.  The seek succeeds, but the position is off.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=2975
      8bc503a5
  17. 18 Dec, 2001 1 commit
  18. 14 Dec, 2001 1 commit
  19. 12 Dec, 2001 1 commit
    • Monty's avatar
      · 3a8db75a
      Monty authored
      Initial branch merge toward rc3
      monty_branch_20011009 is officially dead
      
      svn path=/trunk/vorbis/; revision=2590
      3a8db75a
  20. 12 Nov, 2001 1 commit
    • Michael Smith's avatar
      Fixes for two bugs relating to short files in vorbisfile: · 244da036
      Michael Smith authored
       1) _get_prev_page could get stuck in an infinite loop trying to seek to < 0
       2) _process_packet could return OV_EOF when there were valid packets awaiting
          decode.
      
      Remaining problem: on my test file (739 samples long), seeking_example fails
      the pcm exact seeking test.
      
      svn path=/trunk/vorbis/; revision=2350
      244da036
  21. 02 Oct, 2001 1 commit
  22. 13 Sep, 2001 1 commit
    • Monty's avatar
      · aa923143
      Monty authored
      Fixed:
      
      1) now check return value from header fetch in the new link of a chained stream
      2) harden vorbisfile against garbage bytes between header pages
      
      svn path=/trunk/vorbis/; revision=2023
      aa923143
  23. 02 Jun, 2001 1 commit
    • Michael Smith's avatar
      Don't reduce open state during ov_open(). · 9bf73d91
      Michael Smith authored
      Fixes non-seekable vorbisfile (i.e. streaming).
      
      Monty - I'm not certain this is completely correct in all cases - please
      look it over. However, it doesn't break any normal major uses and does make
      streaming playback work.
      
      svn path=/trunk/vorbis/; revision=1469
      9bf73d91
  24. 27 May, 2001 3 commits
    • Ralph Giles's avatar
      minor spelling correction · 904433d7
      Ralph Giles authored
      svn path=/trunk/vorbis/; revision=1462
      904433d7
    • Monty's avatar
      · eb202bf0
      Monty authored
      One last vorbisfile opt uncommented, fixed and tested.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=1459
      eb202bf0
    • Monty's avatar
      · 939a038b
      Monty authored
      Floor 1
      Res 1
      Vorbisfile fixes/opts
      
      now all on mainline
      
      svn path=/trunk/vorbis/; revision=1458
      939a038b
  25. 27 Mar, 2001 1 commit
    • Monty's avatar
      · d42aaa98
      Monty authored
      Committed fix to what most people know as the 'seek to zero' bug.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=1407
      d42aaa98
  26. 20 Mar, 2001 2 commits
    • Ralph Giles's avatar
      · 6e5675f7
      Ralph Giles authored
      put back the bit about the bitstream index. Didn't realize it was
      talking about the chaining index, rather than the logical bitstream
      serialno.
      
      svn path=/trunk/vorbis/; revision=1386
      6e5675f7
    • Ralph Giles's avatar
      · c7dee00e
      Ralph Giles authored
      Correct ov_read() documentation. Each call decodes at most one
      vorbis packet and will not necessarily fill the buffer as claimed
      in the html docs.
      
      Also removed the wierd clause about *bitstream not returning the
      real logical bitstream id in a seekable context. One presumes any
      re-writing would happen on the server side.
      
      svn path=/trunk/vorbis/; revision=1385
      c7dee00e
  27. 26 Feb, 2001 1 commit
    • Monty's avatar
      · 7bfceda6
      Monty authored
      final beta 4 commit
      change to BSD license
      update version
      
      svn path=/trunk/vorbis/; revision=1334
      7bfceda6
  28. 15 Feb, 2001 1 commit
    • Monty's avatar
      · 42367225
      Monty authored
      Reverting vorbisfile.c to the known stable 1.37 version for the beta 4
      release.  Nicholas's optimization, though fundamentally sound, has a
      subtle rep-invariant bug or two that will break other functions and I
      want a known working version for the allegedly stable beta.  Nick's
      version will go back on mainline (with a few more tweaks) right after
      beta 4 tagging.
      
      Monty
      
      svn path=/trunk/vorbis/; revision=1278
      42367225
  29. 14 Feb, 2001 2 commits
    • Michael Smith's avatar
      Oops. Previous commit was of the wrong (not cleaned up) version. Sorry. · 89198b34
      Michael Smith authored
      svn path=/trunk/vorbis/; revision=1277
      89198b34
    • Michael Smith's avatar
      · 30955db4
      Michael Smith authored
      Much faster seeking internal to libvorbisfile. Makes more intelligent guesses when seeking, and avoids doing extra work when it can.
      Thanks to Nicholas Vinen <hb@sonique.com> for the patch.
      Old code is still there ifdefd out, for the moment.
      
      People - please test this, to ensure no bugs crept in.
      
      svn path=/trunk/vorbis/; revision=1276
      30955db4
  30. 02 Feb, 2001 1 commit
    • Monty's avatar
      · b71261a0
      Monty authored
      Update header copyright dates, update copyright assignemnt
      
      svn path=/trunk/vorbis/; revision=1243
      b71261a0
  31. 22 Jan, 2001 1 commit
    • Monty's avatar
      · aa7a3d9b
      Monty authored
      Initial beta 4 merge
      
      Monty
      
      svn path=/trunk/vorbis/; revision=1191
      aa7a3d9b
  32. 01 Jan, 2001 1 commit
    • Monty's avatar
      · e3ad5dd4
      Monty authored
      roll back into mainline a bugfix for ov_open with a NULL FILE *
      
      Monty
      
      svn path=/trunk/vorbis/; revision=1142
      e3ad5dd4
  33. 21 Dec, 2000 1 commit
    • Monty's avatar
      · b6dd3d99
      Monty authored
      Commit minor speed patch (sliding window in vorbis_blockin)
      Commit Segher floating constant patch
      Commit addition of vq targets to vq/ Makefile.am
      
      svn path=/trunk/vorbis/; revision=1121
      b6dd3d99