summaryrefslogtreecommitdiffstats
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/playback.c b/apps/playback.c
index f4287310b7..d256f5a4f0 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1663,7 +1663,7 @@ static void codec_seek_complete_callback(void)
{
/* If this is not a seamless seek, clear the buffer */
pcmbuf_play_stop();
- dsp_configure(DSP_FLUSH, NULL);
+ dsp_configure(DSP_FLUSH, 0);
/* If playback was not 'deliberately' paused, unpause now */
if (!paused)
@@ -1729,20 +1729,20 @@ static bool codec_seek_buffer_callback(size_t newpos)
return true;
}
-static void codec_configure_callback(int setting, void *value)
+static void codec_configure_callback(int setting, intptr_t value)
{
switch (setting) {
case CODEC_SET_FILEBUF_WATERMARK:
- conf_watermark = (unsigned long)value;
+ conf_watermark = value;
set_filebuf_watermark(buffer_margin);
break;
case CODEC_SET_FILEBUF_CHUNKSIZE:
- conf_filechunk = (unsigned long)value;
+ conf_filechunk = value;
break;
case CODEC_SET_FILEBUF_PRESEEK:
- conf_preseek = (unsigned long)value;
+ conf_preseek = value;
break;
default: