WSJT-X/Audio/AudioDevice.cpp

10 lines
226 B
C++
Raw Normal View History

2019-07-02 13:45:05 -04:00
#include "AudioDevice.hpp"
bool AudioDevice::initialize (OpenMode mode, Channel channel)
{
m_channel = channel;
// open and ensure we are unbuffered if possible
return QIODevice::open (mode | QIODevice::Unbuffered);
}