diff options
author | Steve Bavin <pondlife@pondlife.me> | 2008-03-28 12:51:33 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2008-03-28 12:51:33 +0000 |
commit | 135cc757bda4714aca2831f7d75b7a4c1c4f7763 (patch) | |
tree | 2925838c63fdff85082f7717b78e273523a4f838 /apps/pcmbuf.c | |
parent | 3d0b7c69016dc0dc1a4a81131340ac3024ecd356 (diff) | |
download | rockbox-135cc757bda4714aca2831f7d75b7a4c1c4f7763.tar.gz rockbox-135cc757bda4714aca2831f7d75b7a4c1c4f7763.zip |
Revert my earlier const madness, we'll keep the parameter lists simple.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r-- | apps/pcmbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index b9587d08dd..8f16c90523 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c | |||
@@ -82,7 +82,7 @@ static char *fadebuf IDATA_ATTR; | |||
82 | static char *voicebuf IDATA_ATTR; | 82 | static char *voicebuf IDATA_ATTR; |
83 | 83 | ||
84 | static void (*pcmbuf_event_handler)(void) IDATA_ATTR; | 84 | static void (*pcmbuf_event_handler)(void) IDATA_ATTR; |
85 | static void (*position_callback)(const size_t size) IDATA_ATTR; | 85 | static void (*position_callback)(size_t size) IDATA_ATTR; |
86 | 86 | ||
87 | /* Crossfade related state */ | 87 | /* Crossfade related state */ |
88 | static bool crossfade_enabled; | 88 | static bool crossfade_enabled; |
@@ -188,7 +188,7 @@ static void pcmbuf_callback(unsigned char** start, size_t* size) | |||
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ||
191 | void pcmbuf_set_position_callback(void (*callback)(const size_t size)) | 191 | void pcmbuf_set_position_callback(void (*callback)(size_t size)) |
192 | { | 192 | { |
193 | position_callback = callback; | 193 | position_callback = callback; |
194 | } | 194 | } |
@@ -938,7 +938,7 @@ void pcmbuf_write_complete(int count) | |||
938 | } | 938 | } |
939 | 939 | ||
940 | #if 0 | 940 | #if 0 |
941 | bool pcmbuf_insert_buffer(char *buf, const int count) | 941 | bool pcmbuf_insert_buffer(char *buf, int count) |
942 | { | 942 | { |
943 | size_t length = (size_t)(unsigned int)count << 2; | 943 | size_t length = (size_t)(unsigned int)count << 2; |
944 | 944 | ||