From 8587a1622103d70afa2a193f0ac1c61332bd56cb Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 12 Dec 2014 15:46:54 +0000 Subject: [PATCH] Mixer related build fixes --- module_usb_audio/mixer/mixer.xc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/mixer/mixer.xc b/module_usb_audio/mixer/mixer.xc index 94faef36..3882ab0c 100644 --- a/module_usb_audio/mixer/mixer.xc +++ b/module_usb_audio/mixer/mixer.xc @@ -235,7 +235,7 @@ static inline void GetSamplesFromHost(chanend c, unsigned underflow) // Note: We need all 32bits for Native DSD #endif write_via_xc_ptr_indexed(multOut, index, val); - write_via_xc_ptr_indexed(samples, i, h); + write_via_xc_ptr_indexed(samples_array, i, h); #else ptr_samples[i] = sample; #endif @@ -268,7 +268,7 @@ static inline void GiveSamplesToDevice(chanend c, xc_ptr ptr, xc_ptr multOut, un read_via_xc_ptr_indexed(index, ptr, i); /* Read the actual sample value */ - read_via_xc_ptr_indexed(sample, samples, index); + read_via_xc_ptr_indexed(sample, samples_array, index); #else unsafe {