Chris Robinson
aecc77a73c
Replace the sound file extension when opening fails
...
This should make it more efficient to lookup a sound instead of checking each
time it's played. A better method would perhaps be to check if the resource
exists when the ESM is loaded and replace it then as needed.
13 years ago
Chris Robinson
6a85ef1229
Set Ogre's data stream to NULL when closing the audio file
13 years ago
Chris Robinson
fd8326e958
Better handle some ffmpeg errors
13 years ago
Chris Robinson
7b22ee6fd1
Use for_each to clear the ffmpeg stream packets
13 years ago
Chris Robinson
2989a1e06e
Improve ffmpeg failure messages
13 years ago
Chris Robinson
26a441f29a
Add a readAll method to the sound decoder, for potentially more efficient reading
13 years ago
Chris Robinson
deb473b9ae
Implement the ffmpeg decoder
13 years ago
Chris Robinson
db46bf39b3
Add a rewind method to the sound decoder
13 years ago
Chris Robinson
efae7dfe83
Rename some sound decoder class member variables and functions
13 years ago
Chris Robinson
9656456d30
Make sure the sound decoders are closed when they're finished with
13 years ago
Chris Robinson
caf5d71d44
Make the sound decoder's Open method return void
...
Errors are thrown, not returned
13 years ago
Chris Robinson
9cf42f6d0f
Flesh out the sound decoder a bit more
13 years ago
Chris Robinson
46cd84aac5
Add a skeleton ffmpeg decoder
13 years ago