Commit Graph
40 Commits
Author SHA1 Message Date
Paul Gilbert 23a6533c95 TITANIC: Properly flag audio buffer as finished when song is done 2017-10-14 21:31:35 -04:00
Paul Gilbert 4a0a3c121f TITANIC: Fix leak of wave file audio streams 2017-09-27 21:11:32 -04:00
Paul Gilbert 3e5515cc21 TITANIC: Improve audio buffer critial section handling 2017-09-16 15:23:43 -04:00
Paul Gilbert bce9ba0aec TITANIC: Standardize audio rate constants 2017-09-16 09:39:27 -04:00
Paul Gilbert dfd8c001a4 TITANIC: Simplify sound looping by using LoopingAudioStream 2017-08-18 20:45:10 -04:00
Paul Gilbert bad821d451 TITANIC: Removed unused CWaveFile constructor 2017-08-06 22:08:52 -04:00
Paul Gilbert 1f4b97ac7c TITANIC: Create a new audio stream each time a wave file is played
This fixes the problem with the 2nd Class floors, where the same
music played in the lift doesn't have time to fade out before
the same music is loaded to be faded in for the floor. Now, each
gets it's own separate audio stream, preventing the two clashing
2017-08-03 22:41:00 -04:00
Paul Gilbert 4649bbfce2 TITANIC: Shifting wave file playback into CWaveFile class 2017-08-03 22:24:00 -04:00
Paul Gilbert 60de2718bd TITANIC: Fix new[] vs free mismatches 2017-07-18 22:40:48 -04:00
Paul Gilbert 3a41bed563 TITANIC: Fix Coverity reported warnings 2017-02-13 21:58:23 -05:00
Paul Gilbert 0e2c667fa8 TITANIC: Simplify implementation of CAudioBuffer 2017-02-12 08:05:33 -05:00
Paul Gilbert 7422248625 TITANIC: Use critical section methods when reading from audio buffer 2017-02-10 23:15:08 -05:00
Paul Gilbert 82815658f2 TITANIC: Fix further warnings in CWaveFile 2017-02-10 21:57:35 -05:00
Paul Gilbert d1140d102c TITANIC: Fix shadowed member warnings 2017-02-10 21:36:08 -05:00
Paul Gilbert f9cd01fe03 TITANIC: Compilation fix for audio buffer stream class 2017-02-10 21:34:15 -05:00
Paul Gilbert 75598ba6a4 TITANIC: Further sanity checking before locking wave files for access 2017-02-10 21:30:50 -05:00
Paul Gilbert 9ab1ad60bf TITANIC: Implementing audio buffer audio stream 2017-02-10 21:20:06 -05:00
Paul Gilbert e942131e22 TITANIC: Extra sanity checks before locking CWaveFiles for access 2017-02-09 22:37:51 -05:00
Paul Gilbert 4adea6eace TITANIC: FIxes and cleanup for instrument mixer code 2017-02-09 22:12:56 -05:00
Paul Gilbert abe4f20fc1 TITANIC: CWaveFile::lock now returns pointer to data, not WAV header 2017-02-09 21:43:03 -05:00
Paul Gilbert 6618af29fa TITANIC: Refactor CWaveFile audio stream generation
Wave files need to handle both stand-alone playback via an audio stream,
as well as reading the raw data when merging instrument fragments in
the music room.
2017-02-09 21:18:13 -05:00
Paul Gilbert c2b3abd676 TITANIC: Fix calculation of wave file size 2017-02-09 19:54:13 -05:00
Paul Gilbert 059a2b3751 TITANIC: Renamings and comments for music classes 2017-02-08 20:30:18 -05:00
Paul Gilbert 527ce3cb79 TITANIC: Start of getting CWaveFile to handling audio streaming 2017-02-05 17:25:55 -05:00
Paul Gilbert a44720e565 TITANIC: Implemented CMusicWave read method 2017-02-05 10:42:51 -05:00
Paul Gilbert 13648c8df5 TITANIC: Implemented CMusicRoomHandler setVolume 2017-02-02 21:38:11 -05:00
Paul Gilbert cf1efc8430 TITANIC: Fix replaying cached previously played sounds 2016-11-05 19:12:39 -04:00
Paul Gilbert 1ff861ed3f TITANIC: Fix somer compiler warnings 2016-10-30 15:00:16 -04:00
Paul Gilbert 3852d14061 TITANIC: Match the CWaveFile duration method closer to original 2016-10-23 20:11:30 -04:00
Paul Gilbert 6e5072e1b2 TITANIC: Figured out sound durations for speeches & SFX 2016-09-02 20:10:48 -04:00
Paul Gilbert 5247af8aeb TITANIC: Compilation fix for SoundType enum 2016-08-11 20:15:18 -04:00
Paul Gilbert b680af7f60 TITANIC: Fleshing out QSound simulation methods 2016-08-11 20:03:55 -04:00
Paul Gilbert 8b6ac03f18 TITANIC: Start of music player class 2016-08-07 19:04:28 -04:00
Paul Gilbert 87b4c8a9d9 TITANIC: Added more sound manager functionality 2016-08-06 21:55:19 -04:00
Paul Gilbert 7b5b06f9d3 TITANIC: Added more sound manager methods, field renames in CProximity 2016-08-06 18:54:00 -04:00
Paul Gilbert c691449958 TITANIC: Add sounds list to QSoundManager 2016-08-05 23:08:34 -04:00
Paul Gilbert de775c6bda TITANIC: Starting to flesh out sound loading 2016-08-05 19:18:27 -04:00
Paul Gilbert 23e387fb90 TITANIC: Rename WaveFile to CWaveFile for consistency 2016-08-04 21:21:34 -04:00
Paul Gilbert c34af39937 TITANIC: Correct sound manager methods to return existing WaveFile class 2016-08-03 22:25:47 -04:00
Paul Gilbert 6948a44ac4 TITANIC: Implemented stopSound 2016-07-10 16:38:21 -04:00