mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
11 lines
227 B
C++
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);
|
|
}
|
|
|