aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2003-05-29 22:34:35 +0000
committerMax Horn2003-05-29 22:34:35 +0000
commite08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939 (patch)
tree7cfaf7553bc2f0bb3a7f0ac092cf85a287288879 /backends/sdl
parent54b8fd8ce1488c82a8e123586dfce9000e3ba6c7 (diff)
downloadscummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.gz
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.tar.bz2
scummvm-rg350-e08d4f072e0939e97b3e6b7e1b2dd7cbaf51d939.zip
more OSystem docs & cleanup
svn-id: r8118
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.cpp2
-rw-r--r--backends/sdl/sdl-common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index f9096c098c..9970d20b13 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -827,7 +827,7 @@ bool OSystem_SDL_Common::poll_event(Event *event) {
return false;
}
-bool OSystem_SDL_Common::set_sound_proc(void *param, SoundProc *proc, byte /* format */) {
+bool OSystem_SDL_Common::set_sound_proc(SoundProc *proc, void *param, SoundFormat format) {
SDL_AudioSpec desired;
memset(&desired, 0, sizeof(desired));
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 71a44d46f6..89d28a8087 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -78,7 +78,7 @@ public:
bool poll_event(Event *event);
// Set function that generates samples
- bool set_sound_proc(void *param, SoundProc *proc, byte sound);
+ bool set_sound_proc(SoundProc *proc, void *param, SoundFormat format);
// Poll CD status
// Returns true if cd audio is playing