Added missing define guards.

This commit is contained in:
Armin Novak 2018-11-13 12:29:19 +01:00
parent 5b363e72aa
commit 9766161f10

View File

@ -121,8 +121,10 @@ static BOOL freerdp_dsp_resample(FREERDP_DSP_CONTEXT* context,
const AUDIO_FORMAT* srcFormat, const AUDIO_FORMAT* srcFormat,
const BYTE** data, size_t* length) const BYTE** data, size_t* length)
{ {
#if defined(WITH_SOXR)
soxr_error_t error; soxr_error_t error;
size_t idone, odone; size_t idone, odone;
#endif
size_t sframes, rframes; size_t sframes, rframes;
size_t rsize; size_t rsize;
size_t j; size_t j;