summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/test_sampr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_sampr.c b/apps/plugins/test_sampr.c
index e1511e3dfd..d1c9c2ba71 100644
--- a/apps/plugins/test_sampr.c
+++ b/apps/plugins/test_sampr.c
@@ -199,7 +199,7 @@ void play_waveform(void)
199 rb->audio_stop(); 199 rb->audio_stop();
200 rb->sound_set(SOUND_VOLUME, rb->sound_default(SOUND_VOLUME)); 200 rb->sound_set(SOUND_VOLUME, rb->sound_default(SOUND_VOLUME));
201 201
202#ifdef INPUT_SRC_CAPS != 0 202#if INPUT_SRC_CAPS != 0
203 /* Select playback */ 203 /* Select playback */
204 rb->audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); 204 rb->audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK);
205#endif 205#endif
@@ -210,7 +210,7 @@ void play_waveform(void)
210 210
211 rb->pcm_set_frequency(rb->hw_freq_sampr[freq]); 211 rb->pcm_set_frequency(rb->hw_freq_sampr[freq]);
212 212
213#ifdef INPUT_SRC_CAPS != 0 213#if INPUT_SRC_CAPS != 0
214 /* Recordable targets can play back from other sources */ 214 /* Recordable targets can play back from other sources */
215 rb->audio_set_output_source(AUDIO_SRC_PLAYBACK); 215 rb->audio_set_output_source(AUDIO_SRC_PLAYBACK);
216#endif 216#endif