dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::streaming::domain Class Reference

the clock domain every client rides on: the DAW clock More...

#include <dxd_stream_device.h>

Public Member Functions

void pop (class clock *clock)
 the clock is the caller's again on return: no tick visits it any more
os_result push (class clock *clock)
void tick (uint64_t samples, uint64_t frame, int64_t timestamp)

Public Attributes

uint64_t frame {}
 the bus frame of the last tick: dx::ioctl::stream::clock::frame's answer

Friends

template<typename>
struct offset_server
 carries a margin into the registered clients, among the writers

Detailed Description

the clock domain every client rides on: the DAW clock

tick() takes the samples the bus advanced its rings by and signals each client once per that client's own iosize, so clients of different buffer sizes share one domain. An OS event carries no count: a client that missed ticks sees one signal and takes the frame counter for what it missed.

Member Function Documentation

◆ pop()

void dxd::streaming::domain::pop ( class clock * clock)
inline

the clock is the caller's again on return: no tick visits it any more

◆ push()

os_result dxd::streaming::domain::push ( class clock * clock)
inline

◆ tick()

void dxd::streaming::domain::tick ( uint64_t samples,
uint64_t frame,
int64_t timestamp )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ offset_server

template<typename>
friend struct offset_server
friend

carries a margin into the registered clients, among the writers

Member Data Documentation

◆ frame

uint64_t dxd::streaming::domain::frame {}

the bus frame of the last tick: dx::ioctl::stream::clock::frame's answer


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

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.