Commit Graph

17 Commits (d4d46fc60256177968c96e9653ced2f83652338e)

Author SHA1 Message Date
scrawl 1739351b7a Remove now unused Sound_Decoder::rewind() 9 years ago
scrawl 8c7c89a4aa Port SoundManager 10 years ago
Chris Robinson ceafcc2ebb Support float samples with ffmpeg
Requires the AL_EXT_FLOAT32 extension in OpenAL
12 years ago
Chris Robinson 0a5ab977b7 Use the decoder's sample offset for calculating the stream offset 12 years ago
Chris Robinson 1ea1407707 Support quad, 5.1, and 7.1 with OpenAL and ffmpeg
The other decoders don't guarantee any channel ordering, which makes them
useless.
12 years ago
Chris Robinson 9c831d3039 Add a decoder method to get the "file" name 12 years ago
Chris Robinson 5cb90ab704 Add some dummy copy constructors and assignment operators to prevent implicit versions from being used 13 years ago
Chris Robinson 26a441f29a Add a readAll method to the sound decoder, for potentially more efficient reading 13 years ago
Chris Robinson 0261aac518 Use Ogre's resource group manager to handle sound files 13 years ago
Chris Robinson db46bf39b3 Add a rewind method to the sound decoder 13 years ago
Chris Robinson 8f9d4ff841 Use 6 125ms buffers for OpenAL streams 13 years ago
Chris Robinson dc6354b2f9 Add functions to get string names for sample types and channel configs 13 years ago
Chris Robinson 403e51cef3 Move the sample type and channel config enums to MWSound and give use appropriate names for the values 13 years ago
Chris Robinson efae7dfe83 Rename some sound decoder class member variables and functions 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 10037e79e7 Add a skeleton decoder class using mpg123 and libsndfile 13 years ago