select/get stream sample rate/iosize
More...
#include <dx_stream.h>

enum  bitmap : unsigned int {
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 = rate44rate48
, mid = rate88rate96
,
hi = rate176rate192
, ex = rate352rate384
, std = himidlo
} 


static unsigned int  frequency (unsigned int shift) 
 frequency helper functions returns the numerical frequency from given sample rate bit field More...


static bitmap  shift (unsigned int frequency) 
 frequency helper functions returns the sample rate bit field from given numerical frequency More...



static constexpr unsigned int  frequencies [] = {8000, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000} 

select/get stream sample rate/iosize
◆ bitmap
Enumerator 

none  
rate8  
rate16  
rate22  
rate32  
rate44  
rate48  
rate88  
rate96  
rate176  
rate192  
rate352  
rate384  
rates  
lo  
mid  
hi  
ex  
std  
◆ frequency()
static unsigned int dx::stream::clock::frequency 
( 
unsigned int 
shift  ) 


inlinestatic 
frequency helper functions returns the numerical frequency from given sample rate bit field
◆ shift()
static bitmap dx::stream::clock::shift 
( 
unsigned int 
frequency  ) 


inlinestatic 
frequency helper functions returns the sample rate bit field from given numerical frequency
◆ domain
unsigned int dx::stream::clock::domain 
◆ frequencies
constexpr unsigned int dx::stream::clock::frequencies[] = {8000, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000} 

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