summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-14 16:43:21 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-14 16:43:21 +0000
commit18b84eeb516672a75d0b740d625407ba246afb05 (patch)
treeb80807976ef1250b3aca27b57247a52c1ef219ca /apps
parent5ce39779111e6caa6eda37a1dbee54bade581328 (diff)
downloadrockbox-18b84eeb516672a75d0b740d625407ba246afb05.tar.gz
rockbox-18b84eeb516672a75d0b740d625407ba246afb05.tar.bz2
rockbox-18b84eeb516672a75d0b740d625407ba246afb05.zip
Reset sample rate correctly after MIDI playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/midiplay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/midiplay.c b/apps/plugins/midiplay.c
index 556cf41cb2..f954b5e780 100644
--- a/apps/plugins/midiplay.c
+++ b/apps/plugins/midiplay.c
@@ -146,10 +146,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->profstop();
#endif
-//#ifndef SIMULATOR
rb->pcm_play_stop();
- rb->pcm_set_frequency(SAMPLE_RATE); // 44100
-//#endif
+ rb->pcm_set_frequency(HW_SAMPR_DEFAULT);
#if defined(HAVE_ADJUSTABLE_CPU_FREQ)
rb->cpu_boost(false);