diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-13 10:17:59 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-13 10:17:59 +0000 |
| commit | 1c97b22ca5ebd64b7b8cca5d528d77fb46f848e0 (patch) | |
| tree | 9c85921e9c75ee0adacc00ff671b7960a6437138 /apps | |
| parent | caf2c61079ae48923ecb568714e5be6725c2751f (diff) | |
| download | rockbox-1c97b22ca5ebd64b7b8cca5d528d77fb46f848e0.zip rockbox-1c97b22ca5ebd64b7b8cca5d528d77fb46f848e0.tar.gz rockbox-1c97b22ca5ebd64b7b8cca5d528d77fb46f848e0.tar.bz2 rockbox-1c97b22ca5ebd64b7b8cca5d528d77fb46f848e0.tar.xz | |
SWCODEC: Fix a problem with voice in the menus caused by my error using the wrong pointer when aligning the codec malloc buffer. Probably the reason for FS#6803. Oy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12747 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index 0f69398..32f4a3b 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -3357,7 +3357,7 @@ static void audio_reset_buffer(size_t pcmbufsize) malloc_buf = audiobuf + talk_get_bufsize(); /* Align the malloc buf to line size. Especially important to cf targets that do line reads/writes. */ - malloc_buf = (unsigned char *)(((uintptr_t)filebuf + 15) & ~15); + malloc_buf = (unsigned char *)(((uintptr_t)malloc_buf + 15) & ~15); filebuf = malloc_buf + MALLOC_BUFSIZE; filebuflen = audiobufend - filebuf; |