Commit Graph

70 Commits (8c7e06293fbe6d0ed1dd7dd0f424b9f1b6f92162)

Author SHA1 Message Date
Chris Robinson c6c06f1140 Return SoundPtr objects from the playSound and streamSound methods 13 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 277597c567 Fix DEFAULT_OUTPUT for OpenAL_Output 13 years ago
Chris Robinson f11e3e39a1 Add an enumerate method to the sound output interface 13 years ago
Chris Robinson fd37a4827c Enforce a 15MB limit on the sound buffer cache 13 years ago
Chris Robinson 6c45d6668b Cache OpenAL buffers for easy reuse 13 years ago
Chris Robinson 4f69972a9c Add a method to stream a sound in 3D 13 years ago
Chris Robinson ae8218bf03 Allocate OpenAL sources when opening the device
This allows sources to be more efficiently retrieved and returned
13 years ago
Chris Robinson 4698e8c0a2 Make the sound stream thread object per-device 13 years ago
Chris Robinson 7194114669 Use a background thread to keep OpenAL streams fed
Maybe this could be moved to the SoundManager instead of in OpenAL, but it's
good enough for now.
13 years ago
Chris Robinson b938fd7b36 Make the sound output init return void 13 years ago
Chris Robinson 362e254720 Rename some more sound class member variables and functions 13 years ago
Chris Robinson 44fc204864 Avoid passing a sound decoder to the play methods 13 years ago
Chris Robinson 7160d20db3 Be more consistent with the vector orientations given the sound handler 13 years ago
Chris Robinson 979ae89aab Pass volume and pitch parameters to streamed sounds 13 years ago
Chris Robinson 656863ec6e Add functions to play sounds 13 years ago
Chris Robinson 2dabdcb9e5 Add a function to update the sound listener 13 years ago
Chris Robinson 1ade01edc8 Add a function to stream sounds 13 years ago
Chris Robinson 1322b1e160 Move Sound_Output's definition to a separate header 13 years ago
Chris Robinson 45b612ab3b Add a skeleton output classs using OpenAL 13 years ago