From 4aa01ed5f03e89710a08a43b053c2d07417e9d43 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 6 Nov 2006 18:36:10 +0000 Subject: [PATCH] Fixed the errors on the sims. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11454 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 11 ++--------- uisimulator/sdl/lcd-charcell.c | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/firmware/mpeg.c b/firmware/mpeg.c index bb438a3ab4..7d16a8c87c 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -2661,17 +2661,10 @@ void audio_init_recording(unsigned int buffer_offset) /* a dummy */ (void)buffer_offset; } -void audio_set_recording_options(int frequency, int quality, - int source, int channel_mode, - bool editable, int prerecord_time) +void audio_set_recording_options(struct audio_recording_options *options) { /* a dummy */ - (void)frequency; - (void)quality; - (void)source; - (void)channel_mode; - (void)editable; - (void)prerecord_time; + (void)options; } #endif /* SIMULATOR */ #endif /* CONFIG_CODEC == MAS3587F */ diff --git a/uisimulator/sdl/lcd-charcell.c b/uisimulator/sdl/lcd-charcell.c index eb94ebf67f..28ce0917c0 100644 --- a/uisimulator/sdl/lcd-charcell.c +++ b/uisimulator/sdl/lcd-charcell.c @@ -181,7 +181,7 @@ void screen_dump(void) int x, y; static unsigned char line[BMP_LINESIZE]; - create_numbered_filename(filename, "", "dump_", ".bmp", 4, + create_numbered_filename(filename, "", "dump_", ".bmp", 4 IF_CNFN_NUM_(, NULL)); DEBUGF("screen_dump\n");