While reviewing a patch to port Tremor r17541, noticed that the
authorMonty <xiphmont@xiph.org>
Sat, 23 Oct 2010 10:29:11 +0000 (10:29 +0000)
committerMonty <xiphmont@xiph.org>
Sat, 23 Oct 2010 10:29:11 +0000 (10:29 +0000)
commita7ebe8070c615b757f6d1f5ad878d3fc81e37125
tree7b69d708fadfa333e4182ec1913fe692a0981272
parent06efb98e23b2001aa837a05558b0a3488fed8001
While reviewing a patch to port Tremor r17541, noticed that the
half-rate decode code in Vorbisfile was never completed past the
original 'quick and dirty' feature request.  Specifically, it made no
attempt to keep the pcm offset tracking consistent in seeks.

Complete this code, and add a testing mode to seeking_example.c to
torture test seeking in halfrate mode.  Also remove requirement that
halfrate mode only work with seekable files.

svn path=/trunk/vorbis/; revision=17560
examples/seeking_example.c
lib/vorbisfile.c