WSJT-X/Audio/AudioDevice.cpp
2019-07-02 12:45:05 -05:00

11 lines
227 B
C++

#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);
}