dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::audio::isoc Struct Reference

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

Detailed Description

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").

Member Function Documentation

◆ ticks()

uint32_t dx::usb::audio::isoc::ticks(uint32_t samples, uint32_t ticks= usb::isoc::ticks_per_sec)
inlinestaticnoexcept

calculates the required ticks per cycle for a given samplerate

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: