From 2aaf45e643053b9a3515e4320b82b16fb32be02a Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 4 May 2007 15:14:56 +0000 Subject: Get samplerate switching working in the sim to be similar to on target. Make all pcm functions available there as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13320 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'apps/recorder/recording.c') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 025480cf91..d0e79bcdd7 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -2100,6 +2100,12 @@ void audio_set_recording_gain(int left, int right, int type) type = type; } +void audio_set_output_source(int source) +{ + source = source; +} + + void audio_record(const char *filename) { filename = filename; @@ -2117,19 +2123,6 @@ void audio_resume_recording(void) { } -void pcm_calculate_rec_peaks(int *left, int *right) -{ - if (left) - *left = 0; - if (right) - *right = 0; -} - -unsigned long pcm_rec_status(void) -{ - return 0; -} - #endif /* #ifdef SIMULATOR */ #endif /* #ifdef CONFIG_CODEC == SWCODEC */ -- cgit v1.2.3