Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/

svn-id: r47579
This commit is contained in:
Max Horn 2010-01-26 22:48:45 +00:00
parent e0d05a482c
commit 1565f14bc1
85 changed files with 174 additions and 173 deletions

@ -40,7 +40,7 @@
#include "agos/agos.h"
#include "sound/audiostream.h"
#include "sound/wave.h"
#include "sound/decoders/wave.h"
#include "gui/message.h"

@ -30,13 +30,13 @@
#include "agos/sound.h"
#include "sound/audiostream.h"
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
using Common::File;

@ -32,7 +32,7 @@
#include "sound/audiostream.h"
#include "sound/fmopl.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "sound/mods/soundfx.h"
namespace Cine {

@ -35,7 +35,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Draci {

@ -26,8 +26,8 @@
#include "sound/audiocd.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
#include "common/config-manager.h"

@ -26,8 +26,8 @@
#include "common/util.h"
#include "common/stream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/wave.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/wave.h"
#include "gob/sound/sounddesc.h"
#include "gob/resources.h"

@ -26,7 +26,7 @@
#include "gob/sound/soundmixer.h"
#include "gob/sound/sounddesc.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Gob {

@ -36,7 +36,7 @@
#include "graphics/conversion.h"
#endif
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Groovie {

@ -28,7 +28,7 @@
#include "groovie/vdx.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#define TILE_SIZE 4 // Size of each tile on the image: only ever seen 4 so far
#define VDX_IDENT 0x9267 // 37479

@ -34,7 +34,7 @@
#include "kyra/util.h"
#include "kyra/debugger.h"
#include "sound/voc.h"
#include "sound/decoders/voc.h"
#include "sound/audiostream.h"
#include "common/config-manager.h"

@ -31,13 +31,13 @@
#include "kyra/sound.h"
#include "sound/mixer.h"
#include "sound/voc.h"
#include "sound/decoders/voc.h"
#include "sound/audiostream.h"
#include "sound/flac.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vorbis.h"
namespace Kyra {

@ -29,9 +29,9 @@
#include "sound/audiostream.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
namespace Kyra {

@ -30,7 +30,7 @@
#include "sound/audiocd.h"
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "common/util.h"

@ -37,7 +37,7 @@
#include "common/system.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "kyra/sound.h"
#include "kyra/screen.h"

@ -31,7 +31,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace M4 {

@ -31,9 +31,9 @@
#include "common/file.h"
#include "common/array.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
namespace M4 {

@ -40,7 +40,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/voc.h"
#include "sound/decoders/voc.h"
#include "sound/audiocd.h"
#include "engines/engine.h"

@ -26,7 +26,7 @@
#include "made/pmvplayer.h"
#include "made/screen.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Made {

@ -25,7 +25,7 @@
#include "common/endian.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "made/resource.h"
#include "made/graphics.h"

@ -28,9 +28,9 @@
#include "common/util.h"
#include "sound/audiostream.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/wave.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/wave.h"
namespace Mohawk {

@ -30,7 +30,7 @@
#include "common/str.h"
#include "sound/audiostream.h"
#include "sound/adpcm.h"
#include "sound/decoders/adpcm.h"
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "sound/mixer.h"

@ -39,8 +39,8 @@
#include "common/zlib.h"
// Audio codecs
#include "sound/adpcm.h"
#include "sound/raw.h"
#include "sound/decoders/adpcm.h"
#include "sound/decoders/raw.h"
#include "mohawk/video/qdm2.h"
// Video codecs

@ -30,7 +30,7 @@
#include "common/mutex.h"
#include "sound/audiostream.h"
#include "sound/iff_sound.h"
#include "sound/decoders/iff_sound.h"
#include "sound/mixer.h"
#include "sound/mididrv.h"

@ -31,7 +31,7 @@
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "sound/mods/protracker.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "parallaction/disk.h"
#include "parallaction/parallaction.h"

@ -30,7 +30,7 @@
#include "sound/mixer.h"
#include "sound/midiparser.h"
#include "sound/mods/protracker.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "parallaction/sound.h"
#include "parallaction/parallaction.h"

@ -36,11 +36,11 @@
#include "queen/resource.h"
#include "sound/audiostream.h"
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mididrv.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vorbis.h"
#define SB_HEADER_SIZE_V104 110
#define SB_HEADER_SIZE_V110 122

@ -33,7 +33,7 @@
#include "sound/audiostream.h"
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "common/config-manager.h"
#include "common/file.h"

@ -31,9 +31,9 @@
#include "sound/audiocd.h"
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
#include "common/mutex.h"
namespace Saga {

@ -35,14 +35,14 @@
#include "common/file.h"
#include "sound/audiostream.h"
#include "sound/adpcm.h"
#include "sound/aiff.h"
#include "sound/decoders/adpcm.h"
#include "sound/decoders/aiff.h"
#ifdef ENABLE_SAGA2
#include "sound/shorten.h"
#include "sound/decoders/shorten.h"
#endif
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/wave.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/wave.h"
namespace Saga {

@ -30,8 +30,8 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/adpcm.h"
#include "sound/raw.h"
#include "sound/decoders/adpcm.h"
#include "sound/decoders/raw.h"
namespace Saga {

@ -30,9 +30,9 @@
#include "common/file.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
namespace Saga {

@ -32,8 +32,8 @@
#include "sound/audiostream.h"
#include "sound/audiocd.h"
#include "sound/raw.h"
#include "sound/wave.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/wave.h"
namespace Sci {

@ -36,7 +36,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Sci {

@ -24,7 +24,7 @@
*/
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "common/config-manager.h"
#include "sci/sci.h"

@ -28,7 +28,7 @@
#include "common/system.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "scumm/scumm.h"
#include "scumm/util.h"
#include "scumm/he/intern_he.h"

@ -31,7 +31,7 @@
#include "scumm/he/resource_he.h"
#include "scumm/he/sound_he.h"
#include "sound/wave.h"
#include "sound/decoders/wave.h"
#include "graphics/cursorman.h"
#include "common/archive.h"

@ -35,16 +35,16 @@
#include "common/timer.h"
#include "common/util.h"
#include "sound/adpcm.h"
#include "sound/decoders/adpcm.h"
#include "sound/audiocd.h"
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mididrv.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
namespace Scumm {

@ -35,7 +35,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Scumm {

@ -26,10 +26,10 @@
#include "common/scummsys.h"
#include "common/util.h"
#include "sound/flac.h"
#include "sound/voc.h"
#include "sound/vorbis.h"
#include "sound/mp3.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/mp3.h"
#include "scumm/scumm.h"
#include "scumm/util.h"

@ -27,7 +27,7 @@
#include "scumm/player_mod.h"
#include "sound/mixer.h"
#include "sound/rate.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Scumm {

@ -33,7 +33,7 @@
#include "scumm/imuse/imuse.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Scumm {

@ -50,9 +50,9 @@
#include "scumm/insane/insane.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vorbis.h"
#include "common/zlib.h"

@ -35,16 +35,16 @@
#include "scumm/sound.h"
#include "scumm/util.h"
#include "sound/adpcm.h"
#include "sound/decoders/adpcm.h"
#include "sound/audiocd.h"
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mididrv.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
namespace Scumm {

@ -39,7 +39,7 @@
#include "sky/text.h"
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Sky {

@ -34,7 +34,7 @@
#include "sky/struc.h"
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Sky {

@ -28,7 +28,7 @@
#include "sword1/sword1.h"
#include "sword1/animation.h"
#include "sword1/text.h"
#include "sound/vorbis.h"
#include "sound/decoders/vorbis.h"
#include "common/config-manager.h"
#include "common/endian.h"

@ -32,13 +32,13 @@
#include "sword1/sword1.h"
#include "sword1/music.h"
#include "sound/aiff.h"
#include "sound/flac.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/vag.h"
#include "sound/decoders/aiff.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
#include "sound/decoders/vag.h"
#define SMP_BUFSIZE 8192

@ -36,12 +36,12 @@
#include "sword1/logic.h"
#include "sword1/sword1.h"
#include "sound/flac.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/vag.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
#include "sound/decoders/vag.h"
namespace Sword1 {

@ -35,12 +35,12 @@
#include "common/file.h"
#include "common/system.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/wave.h"
#include "sound/decoders/vag.h"
#include "sound/rate.h"
#include "sound/wave.h"
#include "sound/vag.h"
#include "sword2/sword2.h"
#include "sword2/defs.h"

@ -46,8 +46,8 @@
#include "sword2/resman.h"
#include "sword2/sound.h"
#include "sound/wave.h"
#include "sound/vag.h"
#include "sound/decoders/wave.h"
#include "sound/decoders/vag.h"
namespace Sword2 {

@ -29,7 +29,7 @@
#include "common/system.h"
#include "engines/advancedDetector.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "graphics/cursorman.h"
#include "graphics/thumbnail.h"
#include "teenagent/console.h"

@ -42,7 +42,7 @@
#include "tinsel/tinlib.h"
#include "tinsel/tinsel.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Tinsel {

@ -31,7 +31,7 @@
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "sound/audiocd.h"
#include "sound/adpcm.h"
#include "sound/decoders/adpcm.h"
#include "common/config-manager.h"
#include "common/file.h"

@ -39,12 +39,12 @@
#include "common/system.h"
#include "sound/mixer.h"
#include "sound/adpcm.h"
#include "sound/vag.h"
#include "sound/flac.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/decoders/adpcm.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vag.h"
#include "sound/decoders/vorbis.h"
#include "gui/message.h"

@ -25,12 +25,12 @@
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/voc.h"
#include "sound/vorbis.h"
#include "sound/raw.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/voc.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/raw.h"
#include "sound/audiostream.h"
#include "touche/midi.h"

@ -26,10 +26,10 @@
#include "common/file.h"
#include "sound/audiostream.h"
#include "sound/flac.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
#include "sound/decoders/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/wave.h"
#include "tucker/tucker.h"
#include "tucker/graphics.h"

@ -26,8 +26,8 @@
#include "common/system.h"
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/wave.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/wave.h"
#include "tucker/tucker.h"
#include "tucker/graphics.h"

@ -31,7 +31,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "graphics/video/avi_decoder.h"

@ -34,7 +34,7 @@
#include "graphics/video/coktelvideo/indeo3.h"
#include "sound/audiostream.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Graphics {

@ -37,7 +37,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Graphics {

@ -25,9 +25,9 @@
#include "sound/audiocd.h"
#include "sound/audiostream.h"
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/flac.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/vorbis.h"
#include "sound/decoders/flac.h"
#include "engines/engine.h"
#include "common/util.h"
#include "common/system.h"

@ -30,11 +30,11 @@
#include "common/util.h"
#include "sound/audiostream.h"
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#include "sound/mixer.h"
#include "sound/mp3.h"
#include "sound/raw.h"
#include "sound/vorbis.h"
#include "sound/decoders/mp3.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/vorbis.h"
namespace Audio {

@ -25,7 +25,7 @@
#include "common/endian.h"
#include "sound/adpcm.h"
#include "sound/decoders/adpcm.h"
#include "sound/audiostream.h"

@ -35,10 +35,10 @@
#include "common/util.h"
#include "common/stream.h"
#include "sound/aiff.h"
#include "sound/decoders/aiff.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Audio {

@ -23,7 +23,7 @@
*
*/
#include "sound/flac.h"
#include "sound/decoders/flac.h"
#ifdef USE_FLAC

@ -23,10 +23,10 @@
*
*/
#include "sound/iff_sound.h"
#include "sound/decoders/iff_sound.h"
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
#include "common/iff_container.h"
#include "common/func.h"

@ -23,7 +23,7 @@
*
*/
#include "sound/mp3.h"
#include "sound/decoders/mp3.h"
#ifdef USE_MAD

@ -28,7 +28,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Audio {

@ -23,7 +23,7 @@
*
*/
#include "sound/shorten.h"
#include "sound/decoders/shorten.h"
#ifdef SOUND_SHORTEN_H
@ -38,7 +38,7 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/decoders/raw.h"
namespace Audio {

@ -23,7 +23,7 @@
*
*/
#include "sound/vag.h"
#include "sound/decoders/vag.h"
namespace Audio {

@ -28,6 +28,7 @@
* Sound decoder used in engines:
* - sword1 (PSX port of the game)
* - sword2 (PSX port of the game)
* - tinsel (PSX port of the game)
*/
#ifndef SOUND_VAG_H

@ -30,8 +30,8 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/raw.h"
#include "sound/voc.h"
#include "sound/decoders/raw.h"
#include "sound/decoders/voc.h"
namespace Audio {

@ -23,7 +23,7 @@
*
*/
#include "sound/vorbis.h"
#include "sound/decoders/vorbis.h"
#ifdef USE_VORBIS

@ -29,9 +29,9 @@
#include "sound/audiostream.h"
#include "sound/mixer.h"
#include "sound/wave.h"
#include "sound/adpcm.h"
#include "sound/raw.h"
#include "sound/decoders/wave.h"
#include "sound/decoders/adpcm.h"
#include "sound/decoders/raw.h"
namespace Audio {

@ -1,29 +1,29 @@
MODULE := sound
MODULE_OBJS := \
adpcm.o \
aiff.o \
audiocd.o \
audiostream.o \
iff_sound.o \
flac.o \
fmopl.o \
mididrv.o \
midiparser.o \
midiparser_smf.o \
midiparser_xmidi.o \
midiparser.o \
mixer.o \
mp3.o \
mpu401.o \
musicplugin.o \
null.o \
raw.o \
shorten.o \
timestamp.o \
vag.o \
voc.o \
vorbis.o \
wave.o \
decoders/adpcm.o \
decoders/aiff.o \
decoders/flac.o \
decoders/iff_sound.o \
decoders/mp3.o \
decoders/raw.o \
decoders/shorten.o \
decoders/vag.o \
decoders/voc.o \
decoders/vorbis.o \
decoders/wave.o \
mods/infogrames.o \
mods/maxtrax.o \
mods/module.o \