Quote:
Originally Posted by flasher86
If someone wants to know how to increase frame rate of PCM Audio in RKP platform, you can use this code (if you dont want to digg through the forum).
Define write memory function somewhere in your header file:
Code:
#define write_mem(address, value) (*((unsigned int volatile*)(address)) = (value))
To set a new frame rate put this AFTER calling the function MusicChannelAsk.
Default 11025Hz:
|
I used the next code for the sound:
Code:
(*MusicOn)();
(*MusicChannelAsk)(ResourceIdexBuff[2],9983,0,1,100);
Is this correct?
Why it not works on the all players?