Matthew Hoops
d876dddd45
SAGA: Rework the way audio is buffered
...
The streams that are created are now used directly instead of SAGA creating its own RawStream after decoding it. In addition, this should fix ADPCM-compressed sounds on big endian systems (as the code was treating the result of readBuffer() to always be LE, whereas it's actual native endian).
I've also clarified the bugfix to bug #1256701 . It only applies to 16-bit PCM data and the size for other data is no longer truncated too ;)
2011-12-24 11:09:54 -05:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
dhewg
2cb6641786
SAGA: Cleanup syncSoundSettings()
...
And respect global mute settings
2011-03-19 16:04:55 +01:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Andrew Kurushin
e3ea3b5b7e
SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
...
svn-id: r53773
2010-10-24 20:22:21 +00:00
Eugene Sandulenko
d1c34efad9
SAGA: Fix bug #2886141 .
...
Bug #2886141 : "ITE: Cumulative Snoring sounds in Prince's Bedroom".
Implemented safeguard against running same looped sound more
than once.
svn-id: r49725
2010-06-15 10:25:34 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
fe35d372da
- Rename FlacStream to FLACStream.
...
- Rename makeFlacStream to makeFLACStream.
svn-id: r47846
2010-02-03 09:42:11 +00:00
Johannes Schickel
a505d32eff
Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
...
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7
Reorder params to Audio::makeRawMemoryStream
...
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
7799dc3614
SAGA: Change Sound::playSoundBuffer to enable looping for all sound formats
...
svn-id: r47405
2010-01-20 12:43:59 +00:00
Max Horn
cebaa0b0d3
Started to get rid of Audio::FLAG_LOOP
...
svn-id: r47397
2010-01-19 23:50:33 +00:00
Max Horn
dc5e08e623
Move raw audio flags from sound/mixer.h to sound/raw.h
...
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
5ee6c79b5d
Convert more engines from Mixer::playRaw to Mixer::playInputStream
...
svn-id: r47377
2010-01-19 11:22:14 +00:00
Max Horn
d2dd5a569a
SAGA: Move from Mixer::playRaw to playInputStream; add FIXME regarding sounds not being looped
...
svn-id: r47376
2010-01-19 11:21:25 +00:00
Max Horn
557bb394de
Get rid of Mixer::FLAG_AUTOFREE.
...
Also fix several recently introduced new/delete vs. malloc/free mismatches.
svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
7ec2da968c
Switch most AudioStream factories to use DisposeAfterUse::Flag
...
svn-id: r47334
2010-01-16 21:36:08 +00:00
Max Horn
f720d99b0a
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
...
svn-id: r47182
2010-01-08 22:09:43 +00:00
Max Horn
0cf53b025d
Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
...
svn-id: r47180
2010-01-08 22:07:35 +00:00
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
6b79910bcb
Fixed some more warnings about unreachable code
...
svn-id: r44300
2009-09-24 10:15:50 +00:00
Filippos Karapetis
a9eb98c218
Simplified the sound playing code by removing the boolean variables for signed, stereo, endian and sample bit information - now sound flags are used instead. Some cleanup.
...
svn-id: r43470
2009-08-17 11:49:07 +00:00
Filippos Karapetis
a5e4eed30e
Ignore speech and sound effect samples with unknown compression, instead of trying to play them as raw sound. Some cleanup
...
svn-id: r43467
2009-08-17 11:11:38 +00:00
Filippos Karapetis
3dfb1c3a96
Made sound effect playing code consistent for compressed and uncompressed sounds. MemoryReadStream is used again instead of SeekableSubReadStream, as there will be issues when multiple sound effects or voices are played simultaneously
...
svn-id: r43466
2009-08-17 11:06:27 +00:00
Filippos Karapetis
374dccc905
Cleanup
...
svn-id: r43460
2009-08-17 09:19:53 +00:00
Filippos Karapetis
203358bcb7
Improved handling of sound resources
...
svn-id: r35724
2009-01-04 14:38:03 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
0410d6dfae
Removed the hasKey() hackery of my previous commit and used ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default
...
svn-id: r35437
2008-12-19 12:03:22 +00:00
Filippos Karapetis
2911aa04c1
Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct default values for missing config manager settings
...
svn-id: r35436
2008-12-19 10:54:05 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Christopher Page
9560a4c3d3
Separated Speech from SFX in SAGA, improved configuration of SAGA sound settings through the GMM
...
svn-id: r33176
2008-07-21 19:15:28 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Eugene Sandulenko
9a9e9d21a8
Moved MemoryStreamEndian from Saga to Common.
...
svn-id: r29038
2007-09-23 09:59:10 +00:00
Max Horn
f4c0b853cc
Fixed sound factory messup caused by my previous commit
...
svn-id: r28111
2007-07-15 19:24:00 +00:00
Filippos Karapetis
0ed332acba
Fix for bug #1751344 - "ITE: p2_a.iaf not played correctly"
...
svn-id: r28018
2007-07-10 23:22:44 +00:00
Filippos Karapetis
2c3cbf444a
Improvements to the SAGA compressed sound support
...
svn-id: r27717
2007-06-25 20:20:59 +00:00
Filippos Karapetis
23c8240048
Add support for compressed sound effects, digital music and speech to the SAGA engine
...
svn-id: r27713
2007-06-25 18:23:01 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
cb49cbdd45
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
...
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer
svn-id: r25356
2007-02-03 19:05:53 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00