add debug
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 12 Nov 2005 18:32:06 +0000 (18:32 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Sat, 12 Nov 2005 18:32:06 +0000 (18:32 +0000)
lib/dvb/volume.cpp

index 78b9bde61824185db77a7780e0eced666646fca5..202de33e0f6d1145cc6d9718ad9a4ff74b883cb9 100644 (file)
@@ -120,6 +120,7 @@ void eDVBVolumecontrol::volumeMute()
 {
        int fd = openMixer();
 #ifdef HAVE_DVB_API_VERSION    
 {
        int fd = openMixer();
 #ifdef HAVE_DVB_API_VERSION    
+       printf("ioctl AUDIO_SET_MUTE,1 %d\n",fd);
        ioctl(fd, AUDIO_SET_MUTE, true);
 #endif
        closeMixer(fd);
        ioctl(fd, AUDIO_SET_MUTE, true);
 #endif
        closeMixer(fd);
@@ -130,6 +131,7 @@ void eDVBVolumecontrol::volumeUnMute()
 {
        int fd = openMixer();
 #ifdef HAVE_DVB_API_VERSION
 {
        int fd = openMixer();
 #ifdef HAVE_DVB_API_VERSION
+       printf("ioctl AUDIO_SET_MUTE,0\n");
        ioctl(fd, AUDIO_SET_MUTE, false);
 #endif
        closeMixer(fd);
        ioctl(fd, AUDIO_SET_MUTE, false);
 #endif
        closeMixer(fd);
@@ -144,4 +146,4 @@ void eDVBVolumecontrol::volumeToggleMute()
        else
                volumeMute();
                
        else
                volumeMute();
                
-}
\ No newline at end of file
+}