diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 15:14:56 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 15:14:56 +0000 |
| commit | 2aaf45e643053b9a3515e4320b82b16fb32be02a (patch) | |
| tree | 3f29921a8e0ef2a752e2104ef96d9862c53017e2 /apps/plugin.c | |
| parent | 621cf0788fd69c967688692b7f19c02b6df7a322 (diff) | |
| download | rockbox-2aaf45e643053b9a3515e4320b82b16fb32be02a.zip rockbox-2aaf45e643053b9a3515e4320b82b16fb32be02a.tar.gz rockbox-2aaf45e643053b9a3515e4320b82b16fb32be02a.tar.bz2 rockbox-2aaf45e643053b9a3515e4320b82b16fb32be02a.tar.xz | |
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
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 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 |