Just Intonation  Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
AudioParameters Struct Reference

Structure holding the parameters and status of an audio device. More...

#include <audioparameters.h>

Collaboration diagram for AudioParameters:
Collaboration graph

Public Member Functions

 AudioParameters ()
 Default constructor for void audio parameters. More...
 
bool operator== (const AudioParameters &p) const
 Compare two sets of audio parameters. More...
 

Public Attributes

QString deviceName
 Name of the audio device. More...
 
int channelCount
 Number of channels (mono=1, stereo=2) More...
 
int sampleSize
 Sample size (16 or 24) More...
 
int bufferSize
 Buffer size of the device if applicable. More...
 
int sampleRate
 Actual sample rate. More...
 
QList< int > supportedSampleRates
 List of supported sample rates. More...
 
bool active
 True of device is active. More...
 
bool muted
 True if device is muted. More...
 

Detailed Description

Structure holding the parameters and status of an audio device.

Definition at line 37 of file audioparameters.h.

Constructor & Destructor Documentation

AudioParameters::AudioParameters ( )

Default constructor for void audio parameters.

Definition at line 57 of file audioparameters.cpp.

Member Function Documentation

bool AudioParameters::operator== ( const AudioParameters p) const

Compare two sets of audio parameters.

Parameters
p: Right-hand-side argument of the == operator (the left argument is the object attached to the function itself.
Returns
True if equal in the sense of the definition below.

Definition at line 37 of file audioparameters.cpp.

Member Data Documentation

bool AudioParameters::active

True of device is active.

Definition at line 46 of file audioparameters.h.

int AudioParameters::bufferSize

Buffer size of the device if applicable.

Definition at line 42 of file audioparameters.h.

int AudioParameters::channelCount

Number of channels (mono=1, stereo=2)

Definition at line 40 of file audioparameters.h.

QString AudioParameters::deviceName

Name of the audio device.

Definition at line 39 of file audioparameters.h.

bool AudioParameters::muted

True if device is muted.

Definition at line 47 of file audioparameters.h.

int AudioParameters::sampleRate

Actual sample rate.

Definition at line 43 of file audioparameters.h.

int AudioParameters::sampleSize

Sample size (16 or 24)

Definition at line 41 of file audioparameters.h.

QList<int> AudioParameters::supportedSampleRates

List of supported sample rates.

Definition at line 44 of file audioparameters.h.


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