diff options
Diffstat (limited to 'Audio/AudioDevice.cpp')
| -rw-r--r-- | Audio/AudioDevice.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Audio/AudioDevice.cpp b/Audio/AudioDevice.cpp new file mode 100644 index 00000000..2b852582 --- /dev/null +++ b/Audio/AudioDevice.cpp @@ -0,0 +1,10 @@ +#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); +} + |
