summaryrefslogtreecommitdiff
path: root/Audio/AudioDevice.cpp
blob: c663f423e2639ea844f8c98325b9ca8ff7c20e90 (plain)
1
2
3
4
5
6
7
8
9
#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);
}