diff options
Diffstat (limited to 'backends/platform/PalmOS')
-rw-r--r-- | backends/platform/PalmOS/Src/os5_sound.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/backends/platform/PalmOS/Src/os5_sound.cpp b/backends/platform/PalmOS/Src/os5_sound.cpp index f34d010bca..92147ef2a0 100644 --- a/backends/platform/PalmOS/Src/os5_sound.cpp +++ b/backends/platform/PalmOS/Src/os5_sound.cpp @@ -24,9 +24,19 @@ */ #include "be_os5.h" -#include "backends/intern.h" #include "common/config-manager.h" +#ifdef PALMOS_ARM +# ifdef COMPILE_ZODIAC +# define SAMPLES_PER_SEC 44100 +# else +# define SAMPLES_PER_SEC 22050 +# endif +#else +# define SAMPLES_PER_SEC 8000 +#endif + + SoundExType _soundEx; static Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 *bufferSizeP) { |