Bastien Bouclet
6a4ff1a9b5
MOHAWK : Finished implementing Selenitic sound receiver
...
svn-id: r54593
2010-11-29 20:49:42 +00:00
Matthew Hoops
3d4ca8e405
MOHAWK: Add an isPlaying() and stopSound(id) function to Sound (for LB and others)
...
svn-id: r54514
2010-11-27 21:36:04 +00:00
Matthew Hoops
5616bde4e7
MOHAWK: Fix Living Books v1 sound (courtesy of fuzzie)
...
svn-id: r54397
2010-11-21 00:02:25 +00:00
Matthew Hoops
0f2bcd2f9f
MOHAWK: Cleanup resource handling
...
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes
svn-id: r54396
2010-11-20 23:53:14 +00:00
Matthew Hoops
0cba4f0306
MOHAWK: Implement blocking sound in Riven
...
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too.
svn-id: r52643
2010-09-08 20:50:56 +00:00
Matthew Hoops
58139baf37
MOHAWK: Sound cleanup
...
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio.
svn-id: r52631
2010-09-07 20:18:30 +00:00
Matthew Hoops
0e4bf4aff7
Fix some other valgrind warnings.
...
svn-id: r50762
2010-07-09 16:53:50 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Matthew Hoops
08d3c24c12
Cleanup the sound code a bit.
...
svn-id: r48133
2010-02-26 08:11:45 +00:00
Max Horn
21e1cc4cf8
Switch makeADPCMStream to DisposeAfterUse::Flag
...
svn-id: r47736
2010-01-31 02:11:41 +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
f85c77d63e
Fix warning when using -Wuninitialized
...
svn-id: r47633
2010-01-28 09:37:50 +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
Matthew Hoops
5903acf66c
Fill in the unknown values of the ADPC chunk in Mohawk sounds and update comments.
...
svn-id: r47528
2010-01-24 23:39:27 +00:00
Max Horn
4b996e7de7
Reorder params to Audio::makeRawMemoryStream
...
svn-id: r47492
2010-01-23 23:55:35 +00:00
Matthew Hoops
0388e359e0
Always loop sounds declared in the VIEW resources of Myst. While Myst specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME.
...
svn-id: r47431
2010-01-22 04:24:04 +00:00
Matthew Hoops
c04f8d00b1
Rename MohawkFile to MohawkArchive and OldMohawkFile to LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
...
svn-id: r47429
2010-01-22 03:43:57 +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
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
69be747621
Move raw audio streams to new header sound/raw.h
...
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71
Rename 'Linear' audio streams to 'raw'
...
svn-id: r47367
2010-01-19 00:52:41 +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
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
Johannes Schickel
aa2f55ddc6
Remove the deprecated FLAC, Vorbis and MP3 factories.
...
svn-id: r47134
2010-01-07 17:14:44 +00:00
Johannes Schickel
ca5e137945
Create a wrapper makeLoopingAudioStream to reduce code duplcation.
...
svn-id: r47128
2010-01-07 16:18:03 +00:00
Johannes Schickel
2e9bae44c5
Let ADPCM streams subclass RewindableAudioStreams and thus allow them to be looped with the new looping code.
...
svn-id: r47127
2010-01-07 16:08:41 +00:00
Torbjörn Andersson
69c71c7628
Removed some unnecessary whitespace. Changed some spaces to tabs.
...
svn-id: r46735
2009-12-30 07:30:04 +00:00
Torbjörn Andersson
1a66ad80a4
Re-indentet switch() blocks to follow ScummVM indentation style. (I've always
...
found this style a bit unusual, but I value consistency.)
svn-id: r46734
2009-12-30 07:14:09 +00:00
Eugene Sandulenko
0ea022d076
Add Mohawk engine code. Part 1/3: main code.
...
svn-id: r46727
2009-12-29 23:18:24 +00:00