From: Ronny Strutz Date: Sat, 12 Nov 2005 18:32:06 +0000 (+0000) Subject: add debug X-Git-Tag: 2.6.0~5298 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/750a3260aec3c46910f8d5e3637138ae31265804 add debug --- diff --git a/lib/dvb/volume.cpp b/lib/dvb/volume.cpp index 78b9bde6..202de33e 100644 --- a/lib/dvb/volume.cpp +++ b/lib/dvb/volume.cpp @@ -120,6 +120,7 @@ void eDVBVolumecontrol::volumeMute() { 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); @@ -130,6 +131,7 @@ void eDVBVolumecontrol::volumeUnMute() { int fd = openMixer(); #ifdef HAVE_DVB_API_VERSION + printf("ioctl AUDIO_SET_MUTE,0\n"); ioctl(fd, AUDIO_SET_MUTE, false); #endif closeMixer(fd); @@ -144,4 +146,4 @@ void eDVBVolumecontrol::volumeToggleMute() else volumeMute(); -} \ No newline at end of file +}