1
0
forked from 0ad/0ad
Commit Graph

101 Commits

Author SHA1 Message Date
71b25d5bd4 big SoundManager checkin,futureproof javascript interface, isolate external calls to remove OpenAL references
This was SVN commit r13455.
2013-06-06 11:13:57 +00:00
d20849d1c4 Add some checks for the sound manager. Fixes the segfault when using -quickstart.
This was SVN commit r13453.
2013-06-05 22:10:11 +00:00
004eaf9e75 log warning when stereo sounds are played at position
This was SVN commit r13442.
2013-06-01 01:52:05 +00:00
b21de66e40 address issue 1929 Ubiquitous Sound Effects, fixes a bug in determining which units are onscreen, also plays distant items softly if at all
This was SVN commit r13439.
2013-05-31 01:03:07 +00:00
93d0084266 incorporate patch from ticket 1937, fix memory leak in SoundManager
This was SVN commit r13430.
2013-05-27 13:36:17 +00:00
94c57085e9 Makes some classes NONCOPYABLE, based on patch by Markus, refs #1852
This was SVN commit r13419.
2013-05-22 21:40:56 +00:00
d7dcd3b26c Use prefix increment operator for iterators (for consistency), refs #1852, #1064
This was SVN commit r13418.
2013-05-22 18:41:13 +00:00
3ce14e3f4b fix memory leak in SoundManager, patch taken from ticket #1934
This was SVN commit r13417.
2013-05-22 12:13:21 +00:00
3f00d4d997 Change some size() > 0 to Based on patches by kuranes and Markus. Refs #1852, #1923.
This was SVN commit r13413.
2013-05-21 22:11:47 +00:00
bf959e1c46 fix build when using --without-audio
This was SVN commit r13389.
2013-05-02 13:58:28 +00:00
092108b304 Must notify sound manager sources are now available
This was SVN commit r13372.
2013-04-26 23:13:11 +00:00
c30f7a40e0 no need to check errors after destroying context, clean up some OpenAL interface calls
This was SVN commit r13371.
2013-04-25 10:48:34 +00:00
8324e0f665 add missing music list files
This was SVN commit r13369.
2013-04-24 19:27:16 +00:00
71486bd57d SoundManager supports playlists
This was SVN commit r13368.
2013-04-24 12:03:42 +00:00
503b481468 handle initialization errors cleanly, clean stuff up
This was SVN commit r13359.
2013-04-18 03:24:20 +00:00
2a3f1cb412 eliminate most warnings produced by Cppcheck
This was SVN commit r13356.
2013-04-12 03:10:54 +00:00
b301d5c84d fades music in and out when switching to background, also honors g_PauseOnFocusLoss
This was SVN commit r13352.
2013-04-10 11:51:42 +00:00
c9a5d5cee5 pause music and ambient sounds when game pauses
This was SVN commit r13347.
2013-04-07 04:13:15 +00:00
4edbd21714 elimate small memory leaks in SoundManager
This was SVN commit r13283.
2013-03-14 02:59:31 +00:00
56784aceab Fix signed/unsigned comparison warning.
This was SVN commit r13274.
2013-03-13 16:23:27 +00:00
b75183eba2 remove log entries concerning sound manager distress mode
This was SVN commit r13273.
2013-03-13 03:55:36 +00:00
efd42ef490 fixes windows compile error and some nuused param warnings
This was SVN commit r13217.
2013-03-03 22:28:26 +00:00
ed8746e798 remove log message
This was SVN commit r13210.
2013-03-01 14:23:28 +00:00
e4a9312c46 newest soundmanager patch, should give better battle sequences, and handle low resource situations correctly.
This was SVN commit r13209.
2013-03-01 14:22:28 +00:00
670deaef2a added variable sleep time depending on load an seperate mutex for deleting old items
This was SVN commit r13055.
2013-01-07 21:02:22 +00:00
ebb2dc3a15 A quick fix for the assertion failure that happens when trying to access profiling data using profiler2.html.
This was SVN commit r13007.
2012-12-22 16:36:20 +00:00
012e1585b1 fix for ticket 1758, not fixing the underlying problem but will limit the error messages to 1 per failed allocation and shouldn't crash anymore
This was SVN commit r12989.
2012-12-14 03:10:03 +00:00
60987d46cf Fixes memory leak in sound manager, refs #1736
This was SVN commit r12987.
2012-12-12 22:43:57 +00:00
cdaab29d2b make sure file was opened successfully before processing
This was SVN commit r12982.
2012-12-12 13:59:36 +00:00
3e531b7571 removed improper comparison warning
This was SVN commit r12899.
2012-11-28 04:31:52 +00:00
ed98320acc Fix non-pch build.
This was SVN commit r12872.
2012-11-24 17:15:07 +00:00
909956f8c3 fixed possible null access crash
This was SVN commit r12866.
2012-11-22 03:20:51 +00:00
a23d245405 volume roilloff returned to standard with bug fixed. Added hints to help stereo playback
This was SVN commit r12864.
2012-11-18 22:39:20 +00:00
402ea61581 don't set location info by default, music and sounds should not have it set
This was SVN commit r12781.
2012-10-24 13:12:55 +00:00
65c0f3efc5 removed extra whitespace
This was SVN commit r12728.
2012-10-03 15:14:20 +00:00
44821da620 new threaded soundmanager and proper distance roll off
This was SVN commit r12709.
2012-09-27 02:42:03 +00:00
6528751875 Fix non-pch build. Fixes #1664.
This was SVN commit r12655.
2012-09-09 13:51:04 +00:00
1fce30839f zero out buffers before loading sounds
This was SVN commit r12639.
2012-09-08 02:54:49 +00:00
df0c4559ad silence repeated errors when buffers don't allocate, fix up reference counting
This was SVN commit r12638.
2012-09-07 12:05:29 +00:00
a6e1e6cec7 report errors opening sound files and hopefully revcover from them gracefully
This was SVN commit r12591.
2012-09-01 23:24:32 +00:00
d45a044445 Cleans up rogue printf
This was SVN commit r12587.
2012-09-01 22:16:53 +00:00
ccdb67c8f2 Fix non-pch build.
This was SVN commit r12586.
2012-09-01 22:12:28 +00:00
a29acce208 Adds some missing includes, refs #1614
This was SVN commit r12577.
2012-09-01 18:23:13 +00:00
0133197dcd proper disposal of single buffer sounds
This was SVN commit r12574.
2012-09-01 02:41:48 +00:00
df96445284 missing files from 89c8bccbde
This was SVN commit r12570.
2012-08-31 19:26:29 +00:00
89c8bccbde Sound system patch by stwf:
Fixes sound system to work with archives (use VFS files instead of
POSIX), fixes #1604.
Improves error handling and logging, refs #1594.
Allows sound to be disabled with -nosound/-quickstart runtime options or
--without-audio build option, fixes #1609, #1614.
Experimentally increases default buffer size to help prevent sound
stoppages.

This was SVN commit r12566.
2012-08-31 19:08:41 +00:00
43eac32795 Fixes GCC warning about passing NULL to non-pointer argument
This was SVN commit r12506.
2012-08-21 16:44:54 +00:00
d7532a1c77 This was SVN commit r12450. 2012-08-16 18:52:39 +00:00
3d67aeeb71 Adds some debug output to OpenAL init
This was SVN commit r12448.
2012-08-16 17:01:15 +00:00
714426f761 Fixes unnecessary use of VfsPath pointers in sound system. Refs #1223
This was SVN commit r12444.
2012-08-16 01:41:45 +00:00
011ba8255e New sound system implementation by stwf, refs #1223, #961.
Enables audio on OS X, refs #685, #931.
Fixes music not playing after a game, refs #946.

This was SVN commit r12428.
2012-08-15 00:10:44 +00:00