frac32buffer channel 1
frac32buffer channel 2
frac32buffer channel 3
frac32buffer channel 4
frac32buffer ch1
frac32buffer ch2
frac32buffer ch3
frac32buffer ch4
int i;
for (i = 0; i < BUFSIZE; i++) {
outlet_ch1[i] = spilink_rx_samples->channel[0].samples[i];
outlet_ch2[i] = spilink_rx_samples->channel[1].samples[i];
outlet_ch3[i] = spilink_rx_samples->channel[2].samples[i];
outlet_ch4[i] = spilink_rx_samples->channel[3].samples[i];
spilink_tx_samples->channel[0].samples[i] = inlet_ch1[i];
spilink_tx_samples->channel[1].samples[i] = inlet_ch2[i];
spilink_tx_samples->channel[2].samples[i] = inlet_ch3[i];
spilink_tx_samples->channel[3].samples[i] = inlet_ch4[i];
}