js8call/AudioDevice.cpp

11 lines
237 B
C++
Raw Permalink Normal View History

2018-02-08 21:28:33 -05: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);
}