
USB Audio Design Guide 58/61
c_mix_ctl Optional chanend to be connected to the mixer thread if present
c_clk_ctl
Optional chanend to be connected to the clockgen thread if present.
c_usb_test Optional chanend to be connected to XUD if test modes required.
void buffer(chanend c_aud_out,
chanend c_aud_in,
chanend c_aud_fb,
chanend c_sof,
chanend c_aud_ctl,
in port p_off_mclk)
USB Audio Buffering Thread.
This function buffers USB audio data between the XUD layer and the decouple
thread. Most of the chanend parameters to the function should be connected to
XUD_Manager()
This function has the following parameters:
c_aud_out Audio OUT endpoint channel connected to the XUD
c_aud_in Audio IN endpoint channel connected to the XUD
c_aud_fb Audio feedback endpoint channel connected to the XUD
c_midi_from_host
MIDI OUT endpoint channel connected to the XUD
c_midi_to_host
MIDI IN endpoint channel connected to the XUD
c_int Audio clocking interrupt endpoint channel connected to the XUD
c_sof Start of frame channel connected to the XUD
c_aud_ctl Audio control channel connected to Endpoint0()
p_off_mclk
A port that is clocked of the MCLK input (not the MCLK input itself)
void decouple(chanend c_audio_out, chanend ?c_clk_int)
Manage the data transfer between the USB audio buffer and the Audio I/O driver.
This function has the following parameters:
c_audio_out Channel connected to the audio() or mixer() threads
c_led
Optional chanend connected to an led driver thread for debugging
purposes
c_midi Optional chanend connect to usb_midi() thread if present
REV 6.1
Kommentare zu diesen Handbüchern