From 98bb8ce5a9dc99735601576510026b169ea5273b Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 11 Feb 2006 18:47:23 +0000 Subject: No more required svn-id: r20569 --- backends/PalmOS/Src/snd_stream.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 backends/PalmOS/Src/snd_stream.cpp (limited to 'backends') 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; -} -- cgit v1.2.3