SPI DAC & ADC + SD Card?

Greetings

It’s possible to use an SPI DAC, an SPI ADC and an SD card, for example, reading a file from an SD card, converting it with an external DAC, connect the DAC output to a device under test and sample the output of the DUT with an external DAC?

I’m trying to read a wav file and sample it to an external DAC but that doesn’t work, it seems like there is some conflict with SPI, between the DAC and the SD card, and I don’t know why this happens. It’s true that the SD card, needs the CS low when a file is open? If that’s true it’s impossible to use other devices for sampling?

I’m using an Arduino Due
Code attached

Regards

DumpAudioFile3_optimized_external_dac.ino (16 KB)