aboutsummaryrefslogtreecommitdiff
path: root/sound/audiocd.h
diff options
context:
space:
mode:
authorMax Horn2007-04-14 18:48:09 +0000
committerMax Horn2007-04-14 18:48:09 +0000
commitadb0f89ae3632df1ce27f4304ea74861de749274 (patch)
treeaa094ba92ace049a079e65f3a3fa1dcaf959aad5 /sound/audiocd.h
parent624b57db3a421c3589e069c86253dfc6dea1f5cf (diff)
downloadscummvm-rg350-adb0f89ae3632df1ce27f4304ea74861de749274.tar.gz
scummvm-rg350-adb0f89ae3632df1ce27f4304ea74861de749274.tar.bz2
scummvm-rg350-adb0f89ae3632df1ce27f4304ea74861de749274.zip
Rewrote AudioCDManager to not use DigitalTrackInfo instances anymore, but rather create/use track AudioStream instances directly
svn-id: r26476
Diffstat (limited to 'sound/audiocd.h')
-rw-r--r--sound/audiocd.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sound/audiocd.h b/sound/audiocd.h
index 23367ba262..6b5184532f 100644
--- a/sound/audiocd.h
+++ b/sound/audiocd.h
@@ -73,27 +73,12 @@ private:
friend class Common::Singleton<SingletonBaseType>;
AudioCDManager();
- int getCachedTrack(int track);
-
-private:
/* used for emulated CD music */
struct ExtStatus : Status {
SoundHandle handle;
};
ExtStatus _cd;
- enum {
-#if defined(__PSP__)
- CACHE_TRACKS = 4 //the PSP can't have more than 8 files open simultaneously
- //so don't use more than 4 filehandles for CD tracks
-#else
- CACHE_TRACKS = 10
-#endif
- };
- int _cachedTracks[CACHE_TRACKS];
- DigitalTrackInfo *_trackInfo[CACHE_TRACKS];
- int _currentCacheIdx;
-
Mixer *_mixer;
};