diff options
Diffstat (limited to 'apps/plugins/test_sampr.c')
-rw-r--r-- | apps/plugins/test_sampr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/test_sampr.c b/apps/plugins/test_sampr.c index 253c592eaa..e1511e3dfd 100644 --- a/apps/plugins/test_sampr.c +++ b/apps/plugins/test_sampr.c | |||
@@ -199,9 +199,9 @@ 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 HAVE_RECORDING | 202 | #ifdef INPUT_SRC_CAPS != 0 |
203 | /* Select playback */ | 203 | /* Select playback */ |
204 | rb->rec_set_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); | 204 | rb->audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); |
205 | #endif | 205 | #endif |
206 | 206 | ||
207 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 207 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
@@ -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 HAVE_RECORDING | 213 | #ifdef 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 |