aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2006-02-11 18:47:23 +0000
committerChris Apers2006-02-11 18:47:23 +0000
commit98bb8ce5a9dc99735601576510026b169ea5273b (patch)
tree0c3b1c4efefc51ce43419a97095eff372bb0188a /backends
parent8f3ae56c69614d5f893e7498ac4aee809f95ae69 (diff)
downloadscummvm-rg350-98bb8ce5a9dc99735601576510026b169ea5273b.tar.gz
scummvm-rg350-98bb8ce5a9dc99735601576510026b169ea5273b.tar.bz2
scummvm-rg350-98bb8ce5a9dc99735601576510026b169ea5273b.zip
No more required
svn-id: r20569
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/snd_stream.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/backends/PalmOS/Src/snd_stream.cpp b/backends/PalmOS/Src/snd_stream.cpp
deleted file mode 100644
index 976137305d..0000000000
--- a/backends/PalmOS/Src/snd_stream.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "common/stdafx.h"
-#include "palm.h"
-
-Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 *bufferSizeP) {
- SoundDataType *snd = (SoundDataType *)UserDataP;
- UInt32 size = *bufferSizeP;
-
- if (snd->set && snd->size) {
- UInt32 *dst = (UInt32 *)bufferP;
- UInt32 *src = (UInt32 *)snd->dataP;
-
- size = (snd->size / 16);
- while (size--) {
- *dst++ = READ_LE_UINT32(src++);
- *dst++ = READ_LE_UINT32(src++);
- *dst++ = READ_LE_UINT32(src++);
- *dst++ = READ_LE_UINT32(src++);
- }
- snd->set = false;
-
- } else {
- snd->size = size;
- MemSet(bufferP, 128, 0);
- *bufferSizeP = 128;
- }
-
- return errNone;
-}