Defines the way the USB stream control will operate.
The USB Stream Control embeds a mechanism that ensures a good audio playback by keeping synchronized both Host and Device, even if their sampling frequency are not strictly equivalent.
Macros | |
#define | TIMER_USB_STREAM_MONITOR 700 |
Period (in ms) of the polling of the buffers monitoring. More... | |
#define | USB_RESYNC_AUDIO_STREAM true |
ENABLE to activate the USB audio resynchronization. More... | |
#define | USB_STREAM_BUFFER_NUMBER 16 |
Number of buffers used in the USB stream FIFO. More... | |
#define | USB_STREAM_BUFFER_SIZE 256 |
Size of a buffer (in bytes) used in the USB stream FIFO. More... | |
#define | USB_STREAM_RESYNC_PPM_STEPS 10 |
Steps in PPM for the resynchronization. More... | |
#define TIMER_USB_STREAM_MONITOR 700 |
Period (in ms) of the polling of the buffers monitoring.
Referenced by usb_stream_input(), and usb_stream_resync().
#define USB_RESYNC_AUDIO_STREAM true |
ENABLE to activate the USB audio resynchronization.
Possible values true or false
#define USB_STREAM_BUFFER_NUMBER 16 |
Number of buffers used in the USB stream FIFO.
Referenced by mmi_activity_display(), usb_stream_fifo_get(), usb_stream_fifo_get_buffer(), usb_stream_fifo_get_free_room(), usb_stream_fifo_get_used_room(), usb_stream_fifo_pull(), usb_stream_fifo_push(), usb_stream_init(), usb_stream_input(), and usb_stream_resync().
#define USB_STREAM_BUFFER_SIZE 256 |
Size of a buffer (in bytes) used in the USB stream FIFO.
It shall be equivalent to the pipe/endpoint from which the stream comes to.
#define USB_STREAM_RESYNC_PPM_STEPS 10 |
Steps in PPM for the resynchronization.
Referenced by usb_stream_resync().