sdrangel/swagger/sdrangel/code/qt5/client/SWGAudioDevicesSelect.h

63 lines
1.4 KiB
C++

/**
* SDRangel
* This is the web API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube
*
* OpenAPI spec version: 4.0.0
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/*
* SWGAudioDevicesSelect.h
*
* Audio devices selected
*/
#ifndef SWGAudioDevicesSelect_H_
#define SWGAudioDevicesSelect_H_
#include <QJsonObject>
#include "SWGObject.h"
namespace SWGSDRangel {
class SWGAudioDevicesSelect: public SWGObject {
public:
SWGAudioDevicesSelect();
SWGAudioDevicesSelect(QString* json);
virtual ~SWGAudioDevicesSelect();
void init();
void cleanup();
QString asJson ();
QJsonObject* asJsonObject();
void fromJsonObject(QJsonObject &json);
SWGAudioDevicesSelect* fromJson(QString &jsonString);
float getInputVolume();
void setInputVolume(float input_volume);
qint32 getInputIndex();
void setInputIndex(qint32 input_index);
qint32 getOutputIndex();
void setOutputIndex(qint32 output_index);
private:
float input_volume;
qint32 input_index;
qint32 output_index;
};
}
#endif /* SWGAudioDevicesSelect_H_ */