forked from len0rd/rockbox
Made the VU meter work in the simulator again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5007 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
697697d4e7
commit
1a6a4812aa
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
||||||
|
|
||||||
const struct plugin_api* rb;
|
const struct plugin_api* rb;
|
||||||
|
|
||||||
|
#ifdef SIMULATOR
|
||||||
|
#define mas_codec_readreg(x) rand()%MAX_PEAK
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Defines x positions on a logarithmic (dBfs) scale. */
|
/* Defines x positions on a logarithmic (dBfs) scale. */
|
||||||
const unsigned char analog_db_scale[] =
|
const unsigned char analog_db_scale[] =
|
||||||
{0,0,10,15,19,22,25,27,29,31,32,33,35,36,37,38,39,39,40,41,42,42,43,44,44,45,45,46,
|
{0,0,10,15,19,22,25,27,29,31,32,33,35,36,37,38,39,39,40,41,42,42,43,44,44,45,45,46,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue