forked from PAWPAW-Mirror/lib_xua
Removed unused tmpBuffer
This commit is contained in:
@@ -567,7 +567,6 @@ __builtin_unreachable();
|
|||||||
|
|
||||||
outUnderflow = (g_aud_from_host_rdptr == g_aud_from_host_wrptr);
|
outUnderflow = (g_aud_from_host_rdptr == g_aud_from_host_wrptr);
|
||||||
|
|
||||||
|
|
||||||
if (!outUnderflow)
|
if (!outUnderflow)
|
||||||
{
|
{
|
||||||
read_via_xc_ptr(aud_data_remaining_to_device, g_aud_from_host_rdptr);
|
read_via_xc_ptr(aud_data_remaining_to_device, g_aud_from_host_rdptr);
|
||||||
@@ -595,6 +594,7 @@ static inline void SetupZerosSendBuffer(XUD_ep aud_to_host_usb_ep, unsigned samp
|
|||||||
asm volatile("stw %0, %1[0]"::"r"(mid),"r"(g_aud_to_host_zeros));
|
asm volatile("stw %0, %1[0]"::"r"(mid),"r"(g_aud_to_host_zeros));
|
||||||
|
|
||||||
#if XUA_DEBUG_BUFFER
|
#if XUA_DEBUG_BUFFER
|
||||||
|
printstr("SetupZerosSendBuffer\n");
|
||||||
printstr("slotSize: ");
|
printstr("slotSize: ");
|
||||||
printintln(slotSize);
|
printintln(slotSize);
|
||||||
printstr("g_numUsbChan_In: ");
|
printstr("g_numUsbChan_In: ");
|
||||||
@@ -613,10 +613,6 @@ static inline void SetupZerosSendBuffer(XUD_ep aud_to_host_usb_ep, unsigned samp
|
|||||||
XUD_SetReady_InPtr(aud_to_host_usb_ep, p+4, mid);
|
XUD_SetReady_InPtr(aud_to_host_usb_ep, p+4, mid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
unsigned char tmpBuffer[1026];
|
|
||||||
|
|
||||||
#pragma unsafe arrays
|
#pragma unsafe arrays
|
||||||
void XUA_Buffer_Decouple(chanend c_mix_out
|
void XUA_Buffer_Decouple(chanend c_mix_out
|
||||||
#ifdef CHAN_BUFF_CTRL
|
#ifdef CHAN_BUFF_CTRL
|
||||||
|
|||||||
Reference in New Issue
Block a user