arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
USBAudioHostBase::Stream Struct Reference

State of one direction (microphone or speaker) More...

#include <USBAudioHostBase.h>

Public Member Functions

AltSetting & alt ()
 
const AltSetting & alt () const
 
uint16_t frameBytes () const
 
bool present () const
 
void reset ()
 

Public Attributes

uint32_t acc = 0
 
uint32_t acc_fb = 0
 
bool active = false
 
std::vector< AltSetting > alts
 
uint8_t clock_id = 0
 
uint32_t dropped_bytes = 0
 
volatile uint32_t feedback = 0
 
uint8_t fu_id = 0
 
uint16_t fu_mute_mask = 0
 
uint16_t fu_volume_mask = 0
 
uint32_t nominal = 0
 
uint16_t packets_per_sec = 1000
 
bool primed = false
 
uint32_t sample_rate = 0
 
int selected = -1
 
uint32_t total_bytes = 0
 
int16_t vol_max = 0
 
int16_t vol_min = kVolumeMinDb256
 
uint32_t xfer_count = 0
 

Detailed Description

State of one direction (microphone or speaker)

Member Function Documentation

◆ alt() [1/2]

AltSetting & alt ( )
inline

◆ alt() [2/2]

const AltSetting & alt ( ) const
inline

◆ frameBytes()

uint16_t frameBytes ( ) const
inline

◆ present()

bool present ( ) const
inline

◆ reset()

void reset ( )
inline

Member Data Documentation

◆ acc

uint32_t acc = 0

◆ acc_fb

uint32_t acc_fb = 0

◆ active

bool active = false

◆ alts

std::vector<AltSetting> alts

◆ clock_id

uint8_t clock_id = 0

◆ dropped_bytes

uint32_t dropped_bytes = 0

◆ feedback

volatile uint32_t feedback = 0

◆ fu_id

uint8_t fu_id = 0

◆ fu_mute_mask

uint16_t fu_mute_mask = 0

◆ fu_volume_mask

uint16_t fu_volume_mask = 0

◆ nominal

uint32_t nominal = 0

◆ packets_per_sec

uint16_t packets_per_sec = 1000

◆ primed

bool primed = false

◆ sample_rate

uint32_t sample_rate = 0

◆ selected

int selected = -1

◆ total_bytes

uint32_t total_bytes = 0

◆ vol_max

int16_t vol_max = 0

◆ vol_min

int16_t vol_min = kVolumeMinDb256

◆ xfer_count

uint32_t xfer_count = 0

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