git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix spaces
[enigma2.git]
/
lib
/
dvb
/
volume.cpp
diff --git
a/lib/dvb/volume.cpp
b/lib/dvb/volume.cpp
index 78b9bde61824185db77a7780e0eced666646fca5..202de33e0f6d1145cc6d9718ad9a4ff74b883cb9 100644
(file)
--- 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
{
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
+}