|
dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
|
the isochronous cycle of one pipe: the slots a session rotates through, each carrying the bus frame it is scheduled for, its request size and the lines its micro frames hold. More...
#include <dx_usb_audio.h>
Classes | |
| struct | cycle |
Static Public Member Functions | |
| static uint32_t | ticks (uint32_t samples, uint32_t ticks=usb::isoc::ticks_per_sec) noexcept |
| calculates the required ticks per cycle for a given samplerate | |
the isochronous cycle of one pipe: the slots a session rotates through, each carrying the bus frame it is scheduled for, its request size and the lines its micro frames hold.
A cycle is as long as the rate needs to come out even (ticks()): a sample rate that divides the frame rate takes one tick, 44.1 kHz takes ten. The tick owns the slots - it writes an out slot a lead of frames ahead of the wire and reads an in slot behind it, a completion counting alone (dxd/CLAUDE.md, "Isoc scheduling").
|
inlinestaticnoexcept |
calculates the required ticks per cycle for a given samplerate
| (c) copyright 2009 dynamic acoustics e.U. | generated on |