diff options
author | Tom Ross <midgey@rockbox.org> | 2007-10-16 18:16:22 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2007-10-16 18:16:22 +0000 |
commit | 437c3e40ca7579acc20b648319447045649b0873 (patch) | |
tree | 5504a232c510dff3f3872d8c7dee388fcbfafeb5 /apps/plugins/rockboy/rbsound.c | |
parent | 0b911fefea7615105244098da1baf4655fa1e721 (diff) | |
download | rockbox-437c3e40ca7579acc20b648319447045649b0873.tar.gz rockbox-437c3e40ca7579acc20b648319447045649b0873.zip |
Code police and clean up for rockboy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/rbsound.c')
-rw-r--r-- | apps/plugins/rockboy/rbsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/rbsound.c b/apps/plugins/rockboy/rbsound.c index b5cfc96fa4..ac5a29c517 100644 --- a/apps/plugins/rockboy/rbsound.c +++ b/apps/plugins/rockboy/rbsound.c | |||
@@ -16,7 +16,7 @@ static unsigned short *buf=0, *hwbuf=0; | |||
16 | 16 | ||
17 | static bool newly_started; | 17 | static bool newly_started; |
18 | 18 | ||
19 | void get_more(unsigned char** start, size_t* size) | 19 | static void get_more(unsigned char** start, size_t* size) |
20 | { | 20 | { |
21 | memcpy(hwbuf, &buf[pcm.len*doneplay], BUF_SIZE*sizeof(short)); | 21 | memcpy(hwbuf, &buf[pcm.len*doneplay], BUF_SIZE*sizeof(short)); |
22 | *start = (unsigned char*)(hwbuf); | 22 | *start = (unsigned char*)(hwbuf); |