Manually track the source decoder sample pos
commit0bb4d9f2c18328a60fdd1336da717e1778900116
authorChris Robinson <chris.kcat@gmail.com>
Thu, 12 Oct 2017 00:09:27 +0000 (11 17:09 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 12 Oct 2017 00:09:27 +0000 (11 17:09 -0700)
tree4c628a51495db5bc293fc9e8e66cd524c1e6e8fb
parent770a80520d1d1e50148dd23f0c7f0854e1291cc3
Manually track the source decoder sample pos

Rather than a virtual method for each decoder to report the current sample
position, the stream class tracks the number of samples read and each seek.
examples/alure-dumb.cpp
include/AL/alure2.h
src/decoders/flac.cpp
src/decoders/mpg123.cpp
src/decoders/opusfile.cpp
src/decoders/sndfile.cpp
src/decoders/vorbisfile.cpp
src/decoders/wave.cpp
src/source.cpp