kopia lustrzana https://gitlab.com/eliggett/wfview
Fix linux compile warnings
rodzic
06105c0e6b
commit
cabc7cd16a
|
@ -73,11 +73,12 @@ static qint16 uLawDecode(quint8 in)
|
|||
audioHandler::audioHandler(QObject* parent) :
|
||||
QIODevice(parent),
|
||||
isInitialized(false),
|
||||
audioOutput(0),
|
||||
volume(1.0f),
|
||||
audioOutput(Q_NULLPTR),
|
||||
audioInput(Q_NULLPTR)
|
||||
isUlaw(false),
|
||||
bufferSize(0),
|
||||
isInput(0)
|
||||
isInput(0),
|
||||
volume(1.0f)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -57,18 +57,19 @@ signals:
|
|||
private:
|
||||
void reinit();
|
||||
|
||||
int bufferSize;
|
||||
QMutex mutex;
|
||||
bool isUlaw;
|
||||
bool isInput; // Used to determine whether input or output audio
|
||||
|
||||
bool isInitialized;
|
||||
QAudioOutput* audioOutput;
|
||||
QAudioInput* audioInput;
|
||||
bool isUlaw;
|
||||
int bufferSize;
|
||||
bool isInput; // Used to determine whether input or output audio
|
||||
float volume;
|
||||
|
||||
QByteArray buffer;
|
||||
QAudioFormat format;
|
||||
QAudioDeviceInfo deviceInfo;
|
||||
QAudioOutput* audioOutput = Q_NULLPTR;
|
||||
QAudioInput* audioInput = Q_NULLPTR;
|
||||
float volume;
|
||||
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue