dxd - dynax driver framework 2.1.0d73
cross platform open source driver development framework
|
select/get stream sample rate/iosize More...
#include <dx_stream.h>
Classes | |
struct | monitor |
performance monitor shared memory More... | |
Public Types | |
enum | bitmap : uint32_t { none = 0 , rate8 = 1<< 0 , rate16 = 1<< 1 , rate22 = 1<< 2 , rate32 = 1<< 3 , rate44 = 1<< 4 , rate48 = 1<< 5 , rate88 = 1<< 6 , rate96 = 1<< 7 , rate176 =1<< 8 , rate192 =1<< 9 , rate352 =1<< 10 , rate384 =1<< 11 , rates = 12 , lo = rate44|rate48 , mid = rate88|rate96 , hi = rate176|rate192 , ex = rate352|rate384 , lomid = lo|mid , std = hi|mid|lo } |
Static Public Member Functions | |
static uint32_t | frequency (uint32_t shift) |
frequency helper functions returns the numerical frequency from given sample rate bit field | |
static bitmap | shift (uint32_t frequency) |
frequency helper functions returns the sample rate bit field from given numerical frequency | |
Public Attributes | |
uint32_t | domain |
clock domain bitfield | |
Static Public Attributes | |
static constexpr uint32_t | frequencies [] = {8000, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000} |
select/get stream sample rate/iosize
frequency helper functions returns the numerical frequency from given sample rate bit field
frequency helper functions returns the sample rate bit field from given numerical frequency
uint32_t dx::stream::clock::domain |
clock domain bitfield
|
staticconstexpr |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Nov 15 2024 |