GP32 sound , clicking or buzz


tuskenraider2k

Certified Guru
Joined
Nov 1, 2002
Messages
117
hi #3

I've inserted a simple buffer with a sinus-sound which is looped without being touched.

it clicks every frame ones.. if I let my app sleep for a half second the sound is clear...

I don't know what this is.. I have analyzed it for a while..

if I use GpRectFill (black screen) it clicks a hell, but if I use a memcpy+fadeout doesn't click at all!!!
I think memset also let me hear clicking..

I use the devkitadv...
 
gprectfill is famous for doing this to your sound. dont know the exact reason but it is somewhere on this board. To solve it just use a 320x240 black sprite and memcpy that to your sceen instead of using gprectfill
 
thank'S :))

Are there any more strange things with the sound ? Just asking :] Primarly I thought it was my refill-buffer function..
 
GP32 has several welknown cache etc related hardware bugs that under certain circumstances cause either bus stalling (causes sound clitches, lcd distortion etc) or trashed values in ARM registers. Most problems can be avoided with correct cache settings on used memory regions (mmu stuff) and avoiding certain optimizations. These are documented in Samsung's s3c2400x manual (GP32 is actually Samsung's s3c2400x ARM core..)
 
Back
Top