diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 0ce214cbde..ea228c454c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -309,7 +309,7 @@ static const struct plugin_api rockbox_api = { | |||
309 | utf8seek, | 309 | utf8seek, |
310 | 310 | ||
311 | /* sound */ | 311 | /* sound */ |
312 | #if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) | 312 | #if CONFIG_CODEC == SWCODEC |
313 | sound_default, | 313 | sound_default, |
314 | #endif | 314 | #endif |
315 | sound_set, | 315 | sound_set, |
@@ -329,9 +329,7 @@ static const struct plugin_api rockbox_api = { | |||
329 | #if CONFIG_CODEC == SWCODEC | 329 | #if CONFIG_CODEC == SWCODEC |
330 | &audio_master_sampr_list[0], | 330 | &audio_master_sampr_list[0], |
331 | &hw_freq_sampr[0], | 331 | &hw_freq_sampr[0], |
332 | #ifndef SIMULATOR | ||
333 | pcm_apply_settings, | 332 | pcm_apply_settings, |
334 | #endif | ||
335 | pcm_play_data, | 333 | pcm_play_data, |
336 | pcm_play_stop, | 334 | pcm_play_stop, |
337 | pcm_set_frequency, | 335 | pcm_set_frequency, |
@@ -342,7 +340,6 @@ static const struct plugin_api rockbox_api = { | |||
342 | pcm_calculate_peaks, | 340 | pcm_calculate_peaks, |
343 | #ifdef HAVE_RECORDING | 341 | #ifdef HAVE_RECORDING |
344 | &rec_freq_sampr[0], | 342 | &rec_freq_sampr[0], |
345 | #ifndef SIMULATOR | ||
346 | pcm_init_recording, | 343 | pcm_init_recording, |
347 | pcm_close_recording, | 344 | pcm_close_recording, |
348 | pcm_record_data, | 345 | pcm_record_data, |
@@ -352,7 +349,6 @@ static const struct plugin_api rockbox_api = { | |||
352 | audio_set_recording_gain, | 349 | audio_set_recording_gain, |
353 | audio_set_output_source, | 350 | audio_set_output_source, |
354 | rec_set_source, | 351 | rec_set_source, |
355 | #endif | ||
356 | #endif /* HAVE_RECORDING */ | 352 | #endif /* HAVE_RECORDING */ |
357 | 353 | ||
358 | #endif | 354 | #endif |