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:
Linus Nielsen Feltzing 2004-08-22 00:28:13 +00:00
parent 697697d4e7
commit 1a6a4812aa

View file

@ -21,6 +21,10 @@
const struct plugin_api* rb;
#ifdef SIMULATOR
#define mas_codec_readreg(x) rand()%MAX_PEAK
#endif
/* Defines x positions on a logarithmic (dBfs) 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,