View Single Post
  #9 (permalink)  
Old 4th Oct 2009, 8:50 am
sig11 sig11 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 31
Default

Quote:
Originally Posted by flasher86 View Post
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?
Reply With Quote