Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::sndio::DriverInfo Struct Reference

Driver information. More...

#include <driver.h>

Collaboration diagram for roc::sndio::DriverInfo:

Public Member Functions

 DriverInfo ()
 Initialize. More...
 
 DriverInfo (const char *driver_name, DriverType driver_type, unsigned int driver_flags, IBackend *driver_backend)
 Initialize. More...
 

Public Attributes

char name [20]
 Driver name. More...
 
DriverType type
 Driver type. More...
 
unsigned int flags
 Driver flags. More...
 
IBackendbackend
 Backend the driver uses. More...
 

Detailed Description

Driver information.

Definition at line 51 of file driver.h.

Constructor & Destructor Documentation

◆ DriverInfo() [1/2]

roc::sndio::DriverInfo::DriverInfo ( )
inline

Initialize.

Definition at line 65 of file driver.h.

◆ DriverInfo() [2/2]

roc::sndio::DriverInfo::DriverInfo ( const char *  driver_name,
DriverType  driver_type,
unsigned int  driver_flags,
IBackend driver_backend 
)
inline

Initialize.

Definition at line 73 of file driver.h.

Member Data Documentation

◆ backend

IBackend* roc::sndio::DriverInfo::backend

Backend the driver uses.

Definition at line 62 of file driver.h.

◆ flags

unsigned int roc::sndio::DriverInfo::flags

Driver flags.

Definition at line 59 of file driver.h.

◆ name

char roc::sndio::DriverInfo::name[20]

Driver name.

Definition at line 53 of file driver.h.

◆ type

DriverType roc::sndio::DriverInfo::type

Driver type.

Definition at line 56 of file driver.h.


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