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/plugin.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 0ce214c..ea228c4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -309,7 +309,7 @@ static const struct plugin_api rockbox_api = { utf8seek, /* sound */ -#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) +#if CONFIG_CODEC == SWCODEC sound_default, #endif sound_set, @@ -329,9 +329,7 @@ static const struct plugin_api rockbox_api = { #if CONFIG_CODEC == SWCODEC &audio_master_sampr_list[0], &hw_freq_sampr[0], -#ifndef SIMULATOR pcm_apply_settings, -#endif pcm_play_data, pcm_play_stop, pcm_set_frequency, @@ -342,7 +340,6 @@ static const struct plugin_api rockbox_api = { pcm_calculate_peaks, #ifdef HAVE_RECORDING &rec_freq_sampr[0], -#ifndef SIMULATOR pcm_init_recording, pcm_close_recording, pcm_record_data, @@ -352,7 +349,6 @@ static const struct plugin_api rockbox_api = { audio_set_recording_gain, audio_set_output_source, rec_set_source, -#endif #endif /* HAVE_RECORDING */ #endif -- cgit v1.1