diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 19 |
1 files changed, 6 insertions, 13 deletions
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) | |||
2100 | type = type; | 2100 | type = type; |
2101 | } | 2101 | } |
2102 | 2102 | ||
2103 | void audio_set_output_source(int source) | ||
2104 | { | ||
2105 | source = source; | ||
2106 | } | ||
2107 | |||
2108 | |||
2103 | void audio_record(const char *filename) | 2109 | void audio_record(const char *filename) |
2104 | { | 2110 | { |
2105 | filename = filename; | 2111 | filename = filename; |
@@ -2117,19 +2123,6 @@ void audio_resume_recording(void) | |||
2117 | { | 2123 | { |
2118 | } | 2124 | } |
2119 | 2125 | ||
2120 | void pcm_calculate_rec_peaks(int *left, int *right) | ||
2121 | { | ||
2122 | if (left) | ||
2123 | *left = 0; | ||
2124 | if (right) | ||
2125 | *right = 0; | ||
2126 | } | ||
2127 | |||
2128 | unsigned long pcm_rec_status(void) | ||
2129 | { | ||
2130 | return 0; | ||
2131 | } | ||
2132 | |||
2133 | #endif /* #ifdef SIMULATOR */ | 2126 | #endif /* #ifdef SIMULATOR */ |
2134 | #endif /* #ifdef CONFIG_CODEC == SWCODEC */ | 2127 | #endif /* #ifdef CONFIG_CODEC == SWCODEC */ |
2135 | 2128 | ||