summaryrefslogtreecommitdiff
path: root/libopie2/opiemm
Unidiff
Diffstat (limited to 'libopie2/opiemm') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiemm/opiemm.pro4
-rw-r--r--libopie2/opiemm/osoundsystem.cpp30
2 files changed, 14 insertions, 20 deletions
diff --git a/libopie2/opiemm/opiemm.pro b/libopie2/opiemm/opiemm.pro
index d5c8238..d6f54ee 100644
--- a/libopie2/opiemm/opiemm.pro
+++ b/libopie2/opiemm/opiemm.pro
@@ -10,6 +10,2 @@ INCLUDEPATH += $(OPIEDIR)/include
10DEPENDPATH += $(OPIEDIR)/include 10DEPENDPATH += $(OPIEDIR)/include
11LIBS +=
12MOC_DIR = moc
13OBJECTS_DIR = obj
14
15 11
diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp
index d857659..ca63389 100644
--- a/libopie2/opiemm/osoundsystem.cpp
+++ b/libopie2/opiemm/osoundsystem.cpp
@@ -32,2 +32,3 @@
32#include <opie2/osoundsystem.h> 32#include <opie2/osoundsystem.h>
33#include <opie2/odebug.h>
33 34
@@ -51,3 +52,3 @@ OSoundSystem::OSoundSystem()
51{ 52{
52 qDebug( "OSoundSystem::OSoundSystem()" ); 53 odebug << "OSoundSystem::OSoundSystem()" << oendl;
53 synchronize(); 54 synchronize();
@@ -67,5 +68,2 @@ void OSoundSystem::synchronize()
67 68
68
69
70
71 QString str; 69 QString str;
@@ -75,3 +73,3 @@ void OSoundSystem::synchronize()
75 { 73 {
76 qDebug( "OSoundSystem: /dev/sound not existing. No sound devices available" ); 74 odebug << "OSoundSystem: /dev/sound not existing. No sound devices available" << oendl;
77 return; 75 return;
@@ -128,3 +126,3 @@ OSoundCard::OSoundCard( QObject* parent, const char* name )
128{ 126{
129 qDebug( "OSoundCard::OSoundCard()" ); 127 odebug << "OSoundCard::OSoundCard()" << oendl;
130 init(); 128 init();
@@ -152,3 +150,3 @@ OAudioInterface::OAudioInterface( QObject* parent, const char* name )
152{ 150{
153 qDebug( "OAudioInterface::OAudioInterface()" ); 151 odebug << "OAudioInterface::OAudioInterface()" << oendl;
154 init(); 152 init();
@@ -176,3 +174,3 @@ OMixerInterface::OMixerInterface( QObject* parent, const char* name )
176{ 174{
177 qDebug( "OMixerInterface::OMixerInterface()" ); 175 odebug << "OMixerInterface::OMixerInterface()" << oendl;
178 init(); 176 init();
@@ -192,3 +190,3 @@ void OMixerInterface::init()
192 { 190 {
193 qWarning( "can't open mixer." ); 191 owarn << "OMixerInterface::init(): Can't open mixer." << oendl;
194 return; 192 return;
@@ -214,3 +212,3 @@ void OMixerInterface::init()
214 if ( devmask & ( 1 << SOUND_MIXER_OGAIN ) ) _channels.insert( "PlayOutputGain", SOUND_MIXER_OGAIN ); 212 if ( devmask & ( 1 << SOUND_MIXER_OGAIN ) ) _channels.insert( "PlayOutputGain", SOUND_MIXER_OGAIN );
215 //qDebug( "devmask available and constructed." ); 213 //odebug << "devmask available and constructed." << oendl;
216 } 214 }
@@ -234,3 +232,3 @@ void OMixerInterface::init()
234 if ( devmask & ( 1 << SOUND_MIXER_OGAIN ) ) _channels.insert( "RecOutputGain", SOUND_MIXER_OGAIN ); 232 if ( devmask & ( 1 << SOUND_MIXER_OGAIN ) ) _channels.insert( "RecOutputGain", SOUND_MIXER_OGAIN );
235 //qDebug( "recmask available and constructed." ); 233 //odebug << "recmask available and constructed." << oendl;
236 } 234 }
@@ -261,3 +259,3 @@ QStringList OMixerInterface::recChannels() const
261{ 259{
262 qWarning( "NYI" ); 260 owarn << "NYI" << oendl;
263} 261}
@@ -267,3 +265,3 @@ QStringList OMixerInterface::playChannels() const
267{ 265{
268 qWarning( "NYI" ); 266 owarn << "NYI" << oendl;
269} 267}
@@ -287,3 +285,3 @@ void OMixerInterface::setVolume( const QString& channel, int left, int right )
287 { 285 {
288 qWarning( "Can't set volume: %s", strerror( errno ) ); 286 owarn << "Can't set volume: " << strerror( errno ) << oendl;
289 } 287 }
@@ -293,3 +291,3 @@ void OMixerInterface::setVolume( const QString& channel, int left, int right )
293 { 291 {
294 qWarning( "Device adjusted volume from %d to %d", left, result & 0xff ); 292 owarn << "Device adjusted volume from " << left << " to " << (result & 0xff) << oendl;
295 } 293 }
@@ -308,3 +306,3 @@ int OMixerInterface::volume( const QString& channel ) const
308 { 306 {
309 qWarning( "Can't get volume: %s", strerror( errno ) ); 307 owarn << "Can't get volume: " << strerror( errno ) << oendl;
310 } 308 }