
4th Oct 2009, 9:21 am
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 31
|
|
Quote:
Originally Posted by flasher86
It should be as follows:
Code:
#define write_mem(address, value) (*((unsigned int volatile*)(address)) = (value))
#define IC_DATA_CMD ((0x1e800 + 0x10)/2)
#define P_ADD_CCR (0x0006)
...
(*MusicOn)();
(*MusicChannelAsk)(ResourceIdexBuff[2],9983,1,160,100);
write_mem(IC_DATA_CMD, P_ADD_CCR);
write_mem(IC_DATA_CMD, 0x0011); // for 44KHz
try this one with new MusicChannelAsk parameters. third parameter can be zero but it is safer to use 1. Fourth parameter is the balance set, to hear the sound in both speakers you should set it to 160 (central value in 0-320).
btw, on which players it doesnt work?
|
Thanks, I will try.
It doesnt work on WIZARD's player
|