Timmy Sjöstedt
4909e68b82
Added explanatory comments to MADStream
2016-05-30 23:44:42 +02:00
Timmy Sjöstedt
fef71de074
Removed SFML audio things
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
14e712f202
Wait for buffers to become available before uploading data
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
5294b40c40
Implement stopMusic method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
861dbf0c2a
Implemented playMusic method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
6a14dc3e02
Implemented loadMusic method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
7a5bbea3a3
Keep track of where to write into the circular buffer
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
b539b09975
Set up OpenAL buffers etc for MADStream
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
62243b0382
Move alCheck macrofunction into its separate files
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
58fdcd47dc
Moved static scale function into MADStream
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
fa13ace921
Moved MADStream implementation to source file
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
9a2bb1b156
Reimplement background noise things
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
2bf0500a34
Implemented pauseSound method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
ad137421fb
Implemented isPlaying method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
59a7189ab3
Implemented playSound method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
91c1374b89
Implemented isLoaded method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
830922c9ca
Removed old PlayingSound struct
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
667031c51f
Implemented loadSound method
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f43e13359a
Added Sound struct
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
cd0109af82
Added simple method to initialize OpenAL
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
6f8b006787
Implement SoundBuffer class to handle OpenAL uploads
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
0d01be5b27
Implemented SoundSource class to handle libsndfile loading
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f5390ad4a6
Include libsndfile & OpenAL
2016-05-30 20:06:13 +02:00
Daniel Evans
185ba23f05
Fix all compiler warnings in rwengine.
2016-04-28 00:54:42 +01:00
Daniel Evans
538d0c02f9
Add city.wav
2015-02-04 17:16:46 +00:00
Daniel Evans
d7d52dc892
Improve cutscenes to load wav audio too
2015-01-26 14:40:09 +00:00
Daniel Evans
185687b1b5
Add and improve functionality for first mission.
...
+ Improve GoTo activity behaviour, jumping to target.
+ Fixed crash on non-existing audio file
+ Added correct conditional flag to conditional opcodes
+ Fixed seat state on exit from non 0th seat
+ Implement many opcodes
2015-01-21 20:40:31 +00:00
Daniel Evans
eea4118eed
Change threading in naieve attempt at fixing crash
2014-08-05 13:41:44 +01:00
Daniel Evans
88008a448b
Improve MADStream code, delay audio start.
2014-08-03 17:50:40 +01:00
Daniel Evans
97ad0414f7
Add Cutscene Audio, via libmad
...
+ MADStream probably needs a good look over, for saftey's sake
2014-08-01 21:04:58 +01:00