Simple clock/timer for Rockchip's players
1 Attachment(s)
Hi guys,
Sorry for my English. "Menu" - setup the clock or the timer ( "V+" - increase time, "V-" - decrease , "Menu" - for the next digit) "Long Menu" - exit application "|<<" - start the timer (bell on 00:00:00 ) ">||" - Stop/Continue ">>|" - start the clock The applications set up internal clock to 12 MHz ( I am not sure that it is supports for all models ) |
This is a good idea sig11.
I will test it out on my player. :D |
Thanks for this application! :)
I can't hear a bell - when the timer becomes zero, there's only quiet hissing :( |
Quote:
|
Sounds
Yes, I have sounds and music in all games created by Rockchip company,
and simple apps for testing like Data-Viewer. So, there's no any problem with my RK2608 320x240 player. Were the Xonix and Chess created with sounds? :confused: |
Another member flasher86 has made sound work, here is what he writes:-
Quote:
|
This works ok on my player Rockchip Rk2608 320x240 screen.
Even the alarm sounds when it counts down to zero, it sounds like an old style telephone by the way. :p |
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))Default 11025Hz: Code:
write_mem(0xF408, 0x0006);Code:
write_mem(0xF408, 0x0006);Code:
write_mem(0xF408, 0x0006);Code:
write_mem(0xF408, 0x0006);Code:
write_mem(0xF408, 0x0006);Code:
write_mem(0xF408, 0x0006); |
Quote:
Code:
(*MusicOn)();Why it not works on the all players? |
It should be as follows:
Code:
#define write_mem(address, value) (*((unsigned int volatile*)(address)) = (value))btw, on which players it doesnt work? |
| All times are GMT -7. The time now is 5:57 pm. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2