]> git.tdb.fi Git - libs/al.git/commit
Implement seeking in sound decoders
authorMikko Rasa <tdb@tdb.fi>
Sun, 24 Jun 2018 14:46:39 +0000 (17:46 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 24 Jun 2018 14:46:39 +0000 (17:46 +0300)
commitd365c5394308740f478fbdfbb23e2c5d972f19f0
tree48452cb8e1d3c206cab3c036307ebea171516b16
parent85914b1843bd89ca94a722cc26e572089dbd0774
Implement seeking in sound decoders

This also fixes a bug in Mp3Decoder where the input buffer was not cleared
on rewind  so playback didn't immediately restart from the beginning.
source/mp3decoder.cpp
source/mp3decoder.h
source/oggdecoder.cpp
source/oggdecoder.h
source/sounddecoder.h