diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-07-21 04:23:15 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-07-21 04:23:15 +0000 |
| commit | a07b60e58fe81e709d1b92d7efff908452ee5188 (patch) | |
| tree | 4e6bf3cd885fbedde22077f612182d2ab9504677 /apps/plugins/rockboy/sound.c | |
| parent | fa3fc0c5c7e89ad6ce26e9d3563e3a064b018413 (diff) | |
| download | rockbox-a07b60e58fe81e709d1b92d7efff908452ee5188.zip rockbox-a07b60e58fe81e709d1b92d7efff908452ee5188.tar.gz rockbox-a07b60e58fe81e709d1b92d7efff908452ee5188.tar.bz2 rockbox-a07b60e58fe81e709d1b92d7efff908452ee5188.tar.xz | |
Fix red and remove an unneeded file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sound.c')
| -rw-r--r-- | apps/plugins/rockboy/sound.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/apps/plugins/rockboy/sound.c b/apps/plugins/rockboy/sound.c index 036a05a..c5621d3 100644 --- a/apps/plugins/rockboy/sound.c +++ b/apps/plugins/rockboy/sound.c @@ -66,9 +66,9 @@ static const byte soundWavePattern[4][32] = { 0x01,0x01,0x01,0x01, 0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff} -} ICONST_ATTR; +}; -int soundFreqRatio[8] = { +int soundFreqRatio[8] ICONST_ATTR= { 1048576, // 0 524288, // 1 262144, // 2 @@ -77,9 +77,9 @@ int soundFreqRatio[8] = { 104858, // 5 87381, // 6 74898 // 7 -} ICONST_ATTR; +}; -int soundShiftClock[16]= { +int soundShiftClock[16] ICONST_ATTR= { 2, // 0 4, // 1 8, // 2 @@ -96,19 +96,7 @@ int soundShiftClock[16]= { 16384, // 13 1, // 14 1 // 15 -} ICONST_ATTR; - -static const int freqtab[8] = -{ - (1<<14)*2, - (1<<14), - (1<<14)/2, - (1<<14)/3, - (1<<14)/4, - (1<<14)/5, - (1<<14)/6, - (1<<14)/7 -} ICONST_ATTR; +}; struct snd snd IBSS_ATTR; |