diff options
Diffstat (limited to 'apps/plugins/test_sampr.c')
-rw-r--r-- | apps/plugins/test_sampr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/test_sampr.c b/apps/plugins/test_sampr.c index cab81d2a80..7e78137e97 100644 --- a/apps/plugins/test_sampr.c +++ b/apps/plugins/test_sampr.c | |||
@@ -192,7 +192,7 @@ void play_waveform(void) | |||
192 | void set_frequency(int index) | 192 | void set_frequency(int index) |
193 | { | 193 | { |
194 | rb->pcm_set_frequency(rb->hw_freq_sampr[index]); | 194 | rb->pcm_set_frequency(rb->hw_freq_sampr[index]); |
195 | rb->pcm_apply_settings(false); | 195 | rb->pcm_apply_settings(); |
196 | } | 196 | } |
197 | 197 | ||
198 | rb->audio_stop(); | 198 | rb->audio_stop(); |
@@ -209,9 +209,8 @@ void play_waveform(void) | |||
209 | /* Recordable targets can play back from other sources */ | 209 | /* Recordable targets can play back from other sources */ |
210 | rb->audio_set_output_source(AUDIO_SRC_PLAYBACK); | 210 | rb->audio_set_output_source(AUDIO_SRC_PLAYBACK); |
211 | #endif | 211 | #endif |
212 | /* This reset parameter will likely be deleted soon and resetting be | 212 | |
213 | automatic - ignore if the implementation doesn't need it */ | 213 | rb->pcm_apply_settings(); |
214 | rb->pcm_apply_settings(true); | ||
215 | 214 | ||
216 | init_audio(waveform); | 215 | init_audio(waveform); |
217 | rb->pcm_play_data(get_more, NULL, 0); | 216 | rb->pcm_play_data(get_more, NULL, 0); |