summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-08-28 08:59:14 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-08-28 08:59:14 +0000
commit9384cda2bb5c1d155f65fadfbd2d3036fc22b855 (patch)
treeef97e9f1e2d1c893ab98c2a512c2b291d9473cbe /apps/pcmbuf.c
parent7ad2cad173ffa094bb285112582afee1c9aea4e5 (diff)
downloadrockbox-9384cda2bb5c1d155f65fadfbd2d3036fc22b855.tar.gz
rockbox-9384cda2bb5c1d155f65fadfbd2d3036fc22b855.tar.bz2
rockbox-9384cda2bb5c1d155f65fadfbd2d3036fc22b855.zip
Remove INT_MAX from pcmbuf.c. Win32 sim compained about it and it isn't specifically important enough for another #include - it just needs a great enough value to cover any remaining data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index f57021d237..7209dc1638 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1017,7 +1017,7 @@ static void crossfade_start(void)
}
/* zero out the rest of the buffer */
- crossfade_mix_fade(0, INT_MAX, NULL, &fade_out_index,
+ crossfade_mix_fade(0, pcmbuf_size, NULL, &fade_out_index,
0, MIXFADE_NULLIFY_POS);
pcm_play_lock();