Underflow case now uses shared mute sample (for DSD use)

This commit is contained in:
Ross Owen
2013-08-29 19:27:21 +01:00
parent 1fa34042d9
commit 56e92355a3

View File

@@ -261,7 +261,9 @@ void handle_audio_request(chanend c_mix_out)
/* We're still pre-buffering, send out 0 samps */
for(int i = 0; i < NUM_USB_CHAN_OUT; i++)
{
outuint(c_mix_out, 0);
unsigned sample;
GET_SHARED_GLOBAL(sample, g_muteSample);
outuint(c_mix_out, sample);
}
/* Calc how many samples left in buffer */