diff options
Diffstat (limited to 'apps/dsp.c')
-rw-r--r-- | apps/dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dsp.c b/apps/dsp.c index f735456393..c5bbc8fbe9 100644 --- a/apps/dsp.c +++ b/apps/dsp.c | |||
@@ -1016,7 +1016,7 @@ bool dsp_configure(int setting, void *value) | |||
1016 | sizeof(struct resample_data)); | 1016 | sizeof(struct resample_data)); |
1017 | /* Fall through!!! */ | 1017 | /* Fall through!!! */ |
1018 | case DSP_SWITCH_FREQUENCY: | 1018 | case DSP_SWITCH_FREQUENCY: |
1019 | dsp->codec_frequency = ((int) value == 0) ? NATIVE_FREQUENCY : (int) value; | 1019 | dsp->codec_frequency = ((long) value == 0) ? NATIVE_FREQUENCY : (long) value; |
1020 | /* Account for playback speed adjustment when settingg dsp->frequency | 1020 | /* Account for playback speed adjustment when settingg dsp->frequency |
1021 | if we're called from the main audio thread. Voice UI thread should | 1021 | if we're called from the main audio thread. Voice UI thread should |
1022 | not need this feature. | 1022 | not need this feature. |