From 61339f66501622a5f6124e29f6e0109ced3752cb Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 17 Apr 2014 16:07:14 +0100 Subject: [PATCH] Fixed passing on SET_STREAM_FORMAT_ commands from decouple - was incorrectly guarded by DSD define. --- module_usb_audio/usb_buffer/decouple.xc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module_usb_audio/usb_buffer/decouple.xc b/module_usb_audio/usb_buffer/decouple.xc index 931a961a..1f734b73 100644 --- a/module_usb_audio/usb_buffer/decouple.xc +++ b/module_usb_audio/usb_buffer/decouple.xc @@ -881,7 +881,7 @@ void decouple(chanend c_mix_out, { dsdMode = DSD_MODE_NATIVE; } - +#endif /* Wait for the audio code to request samples and respond with command */ inuint(c_mix_out); outct(c_mix_out, SET_STREAM_FORMAT_OUT); @@ -890,7 +890,6 @@ void decouple(chanend c_mix_out, /* Wait for handshake back */ chkct(c_mix_out, XS1_CT_END); -#endif asm("outct res[%0],%1"::"r"(buffer_aud_ctl_chan),"r"(XS1_CT_END)); SET_SHARED_GLOBAL(g_freqChange, 0);