From ac6be5d550f39f262789367804bfb4fb6075b08b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 17 Dec 2006 11:25:42 +0000 Subject: [PATCH] Sims hate me again (or is that the other way). Fixup the stubs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 1b7cb17ab0..fa97837fd5 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -2047,7 +2047,6 @@ unsigned long audio_num_recorded_bytes(void) return 5 * 1024 * 1024; } -#if CONFIG_CODEC == SWCODEC void rec_set_source(int source, unsigned flags) { source = source; @@ -2067,7 +2066,6 @@ bool audio_get_spdif_power_setting(void) } #endif /* HAVE_SPDIF_POWER */ #endif /* HAVE_SPDIF_IN */ -#endif /* CONFIG_CODEC == SWCODEC */ void audio_set_recording_options(struct audio_recording_options *options) { @@ -2081,6 +2079,11 @@ void audio_set_recording_gain(int left, int right, int type) type = type; } +void audio_record(const char *filename) +{ + filename = filename; +} + void audio_stop_recording(void) { } @@ -2101,16 +2104,6 @@ void pcm_calculate_rec_peaks(int *left, int *right) *right = 0; } -void audio_record(const char *filename) -{ - filename = filename; -} - -void audio_new_file(const char *filename) -{ - filename = filename; -} - unsigned long pcm_rec_status(void) { return 0; @@ -2119,5 +2112,4 @@ unsigned long pcm_rec_status(void) #endif /* #ifdef SIMULATOR */ #endif /* #ifdef CONFIG_CODEC == SWCODEC */ - #endif /* HAVE_RECORDING */