aboutsummaryrefslogtreecommitdiff
path: root/backends/x11
diff options
context:
space:
mode:
authorMax Horn2006-05-06 18:10:38 +0000
committerMax Horn2006-05-06 18:10:38 +0000
commitae50315fa05598e83699b87e797c88a57858962e (patch)
tree0493addf8b30688cd04e1d932bba7183f582c0ef /backends/x11
parent37d2f30999398acc4bb3edff5b6cdac29a2af7c3 (diff)
downloadscummvm-rg350-ae50315fa05598e83699b87e797c88a57858962e.tar.gz
scummvm-rg350-ae50315fa05598e83699b87e797c88a57858962e.tar.bz2
scummvm-rg350-ae50315fa05598e83699b87e797c88a57858962e.zip
Added a default implementation of the OSystem CD API (which simply does nothing)
svn-id: r22370
Diffstat (limited to 'backends/x11')
-rw-r--r--backends/x11/x11.cpp17
-rw-r--r--backends/x11/x11.h16
2 files changed, 0 insertions, 33 deletions
diff --git a/backends/x11/x11.cpp b/backends/x11/x11.cpp
index 1ceb20703b..e356bcc83d 100644
--- a/backends/x11/x11.cpp
+++ b/backends/x11/x11.cpp
@@ -743,23 +743,6 @@ int OSystem_X11::getOutputSampleRate() const {
return SAMPLES_PER_SEC;
}
-bool OSystem_X11::openCD(int drive) {
- return false;
-}
-
-bool OSystem_X11::pollCD() {
- return false;
-}
-
-void OSystem_X11::playCD(int track, int num_loops, int start_frame, int duration) {
-}
-
-void OSystem_X11::stopCD() {
-}
-
-void OSystem_X11::updateCD() {
-}
-
void OSystem_X11::delayMillis(uint msecs) {
usleep(msecs * 1000);
}
diff --git a/backends/x11/x11.h b/backends/x11/x11.h
index a67caee172..36085ccc00 100644
--- a/backends/x11/x11.h
+++ b/backends/x11/x11.h
@@ -98,22 +98,6 @@ public:
// callback will be played using this rate.
int getOutputSampleRate() const;
- // Initialise the specified CD drive for audio playback.
- bool openCD(int drive);
-
- // Poll cdrom status
- // Returns true if cd audio is playing
- bool pollCD();
-
- // Play cdrom audio track
- void playCD(int track, int num_loops, int start_frame, int duration);
-
- // Stop cdrom audio track
- void stopCD();
-
- // Update cdrom audio status
- void updateCD();
-
// Quit
void quit();