From 9d0ccc1c5ca687bc017b2b515a9d3a47e98ce521 Mon Sep 17 00:00:00 2001 From: schurig Date: Fri, 10 Sep 2004 12:18:17 +0000 Subject: added support for DEVFS --- (limited to 'libopie2') diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index 763ff65..17e5cb0 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp @@ -137,8 +137,13 @@ OSoundCard::~OSoundCard() void OSoundCard::init() { +#ifdef QT_QWS_DEVFS + _audio = new OAudioInterface( this, "/dev/sound/dsp" ); + _mixer = new OMixerInterface( this, "/dev/sound/mixer" ); +#else _audio = new OAudioInterface( this, "/dev/dsp" ); _mixer = new OMixerInterface( this, "/dev/mixer" ); +#endif } -- cgit v0.9.0.2