mirror of
https://github.com/jtdx-project/jtdx
synced 2026-08-13 17:35:38 -04: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);
|
||
|
|
}
|
||
|
|
|