forked from PAWPAW-Mirror/lib_xua
Underflow case now uses shared mute sample (for DSD use)
This commit is contained in:
@@ -261,7 +261,9 @@ void handle_audio_request(chanend c_mix_out)
|
|||||||
/* We're still pre-buffering, send out 0 samps */
|
/* We're still pre-buffering, send out 0 samps */
|
||||||
for(int i = 0; i < NUM_USB_CHAN_OUT; i++)
|
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 */
|
/* Calc how many samples left in buffer */
|
||||||
|
|||||||
Reference in New Issue
Block a user