SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Public Attributes | Friends | List of all members
AudioDeviceManager::InputDeviceInfo Class Reference

#include <audiodevicemanager.h>

Public Member Functions

 InputDeviceInfo ()
 
void resetToDefaults ()
 

Public Attributes

unsigned int sampleRate
 
float volume
 

Friends

QDataStream & operator<< (QDataStream &ds, const InputDeviceInfo &info)
 
QDataStream & operator>> (QDataStream &ds, InputDeviceInfo &info)
 

Detailed Description

Definition at line 37 of file audiodevicemanager.h.

Constructor & Destructor Documentation

◆ InputDeviceInfo()

AudioDeviceManager::InputDeviceInfo::InputDeviceInfo ( )
inline

Definition at line 40 of file audiodevicemanager.h.

Member Function Documentation

◆ resetToDefaults()

void AudioDeviceManager::InputDeviceInfo::resetToDefaults ( )
inline

Definition at line 44 of file audiodevicemanager.h.

Referenced by WebAPIAdapterGUI::instanceAudioGet(), WebAPIAdapterSrv::instanceAudioGet(), and AudioDialogX::on_inputReset_clicked().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

QDataStream& operator<< ( QDataStream &  ds,
const InputDeviceInfo info 
)
friend

Definition at line 32 of file audiodevicemanager.cpp.

33 {
34  ds << info.sampleRate << info.volume;
35  return ds;
36 }

◆ operator>>

QDataStream& operator>> ( QDataStream &  ds,
InputDeviceInfo info 
)
friend

Definition at line 38 of file audiodevicemanager.cpp.

39 {
40  ds >> info.sampleRate >> info.volume;
41  return ds;
42 }

Member Data Documentation

◆ sampleRate

unsigned int AudioDeviceManager::InputDeviceInfo::sampleRate

◆ volume

float AudioDeviceManager::InputDeviceInfo::volume

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