forked from PAWPAW-Mirror/lib_xua
Whitespace changes
This commit is contained in:
@@ -121,7 +121,7 @@ int main()
|
|||||||
}
|
}
|
||||||
c_audio <: 0; //Signal to tile[0] that mclk is now good
|
c_audio <: 0; //Signal to tile[0] that mclk is now good
|
||||||
|
|
||||||
par{
|
par {
|
||||||
// Low level USB device layer core
|
// Low level USB device layer core
|
||||||
XUD_Main(c_ep_out, XUA_ENDPOINT_COUNT_OUT, c_ep_in, XUA_ENDPOINT_COUNT_IN,
|
XUD_Main(c_ep_out, XUA_ENDPOINT_COUNT_OUT, c_ep_in, XUA_ENDPOINT_COUNT_IN,
|
||||||
c_sof, epTypeTableOut, epTypeTableIn,
|
c_sof, epTypeTableOut, epTypeTableIn,
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ void AudioHub(server i2s_frame_callback_if i2s,
|
|||||||
mic_array_decimator_configure(c_ds_output, decimatorCount, dc);
|
mic_array_decimator_configure(c_ds_output, decimatorCount, dc);
|
||||||
mic_array_init_time_domain_frame(c_ds_output, decimatorCount, buffer, mic_audio_frame, dc);
|
mic_array_init_time_domain_frame(c_ds_output, decimatorCount, buffer, mic_audio_frame, dc);
|
||||||
|
|
||||||
|
UserBufferManagementInit();
|
||||||
|
|
||||||
// Used for debug
|
// Used for debug
|
||||||
//int saw = 0;
|
//int saw = 0;
|
||||||
|
|
||||||
@@ -61,6 +63,8 @@ void AudioHub(server i2s_frame_callback_if i2s,
|
|||||||
restart = I2S_NO_RESTART; // Keep on looping
|
restart = I2S_NO_RESTART; // Keep on looping
|
||||||
timer tmr; int t0, t1; tmr :> t0;
|
timer tmr; int t0, t1; tmr :> t0;
|
||||||
|
|
||||||
|
UserBufferManagement((unsigned *) raw_mics, (unsigned *) samples_out);
|
||||||
|
|
||||||
//Transfer samples. Takes about 25 ticks
|
//Transfer samples. Takes about 25 ticks
|
||||||
for (int i = 0; i < NUM_USB_CHAN_OUT; i++) c_audio :> samples_out[i];
|
for (int i = 0; i < NUM_USB_CHAN_OUT; i++) c_audio :> samples_out[i];
|
||||||
if (XUA_ADAPTIVE) c_audio :> clock_nudge;
|
if (XUA_ADAPTIVE) c_audio :> clock_nudge;
|
||||||
|
|||||||
Reference in New Issue
Block a user