mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Remove unused member variable that breaks the Raspberry Pi build
This commit is contained in:
parent
3b6eabc7a8
commit
f12f481955
@ -51,7 +51,7 @@ void SoundOutput::setFormat (QAudioDeviceInfo const& device, unsigned channels,
|
||||
m_framesBuffered = frames_buffered;
|
||||
}
|
||||
|
||||
void SoundOutput::restart (AudioDevice * source)
|
||||
void SoundOutput::restart (QIODevice * source)
|
||||
{
|
||||
if (!m_device.isNull ())
|
||||
{
|
||||
@ -111,7 +111,6 @@ void SoundOutput::restart (AudioDevice * source)
|
||||
#endif
|
||||
}
|
||||
m_stream->setCategory ("production");
|
||||
m_source = source;
|
||||
m_stream->start (source);
|
||||
// qDebug () << "SoundOut selected buffer size (bytes):" << m_stream->bufferSize () << "period size:" << m_stream->periodSize ();
|
||||
}
|
||||
|
@ -6,9 +6,8 @@
|
||||
#include <QString>
|
||||
#include <QAudioOutput>
|
||||
#include <QAudioDeviceInfo>
|
||||
#include <QPointer>
|
||||
|
||||
class AudioDevice;
|
||||
class QIODevice;
|
||||
class QAudioDeviceInfo;
|
||||
|
||||
// An instance of this sends audio data to a specified soundcard.
|
||||
@ -30,7 +29,7 @@ public:
|
||||
|
||||
public Q_SLOTS:
|
||||
void setFormat (QAudioDeviceInfo const& device, unsigned channels, int frames_buffered = 0);
|
||||
void restart (AudioDevice *);
|
||||
void restart (QIODevice *);
|
||||
void suspend ();
|
||||
void resume ();
|
||||
void reset ();
|
||||
@ -52,7 +51,6 @@ private:
|
||||
QAudioDeviceInfo m_device;
|
||||
unsigned m_channels;
|
||||
QScopedPointer<QAudioOutput> m_stream;
|
||||
QPointer<AudioDevice> m_source;
|
||||
int m_framesBuffered;
|
||||
qreal m_volume;
|
||||
bool error_;
|
||||
|
Loading…
Reference in New Issue
Block a user