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) rb->audio_stop(); rb->sound_set(SOUND_VOLUME, rb->sound_default(SOUND_VOLUME)); -#ifdef HAVE_RECORDING +#ifdef INPUT_SRC_CAPS != 0 /* Select playback */ - rb->rec_set_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); + rb->audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); #endif #ifdef HAVE_ADJUSTABLE_CPU_FREQ @@ -210,7 +210,7 @@ void play_waveform(void) rb->pcm_set_frequency(rb->hw_freq_sampr[freq]); -#ifdef HAVE_RECORDING +#ifdef INPUT_SRC_CAPS != 0 /* Recordable targets can play back from other sources */ rb->audio_set_output_source(AUDIO_SRC_PLAYBACK); #endif |