fix name for /proc-device
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 24 Nov 2005 02:18:43 +0000 (02:18 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 24 Nov 2005 02:18:43 +0000 (02:18 +0000)
lib/dvb/volume.cpp

index c3fc291..e57fbc8 100644 (file)
@@ -127,8 +127,8 @@ void eDVBVolumecontrol::volumeMute()
 
        //HACK?
        FILE *f;
 
        //HACK?
        FILE *f;
-       if((f = fopen("/proc/stb/adc/j1_mute", "wb")) == NULL) {
-               printf("cannot open /proc/stb/adc/j1_mute\n");
+       if((f = fopen("/proc/stb/audio/j1_mute", "wb")) == NULL) {
+               printf("cannot open /proc/stb/audio/j1_mute\n");
                return;
        }
        
                return;
        }
        
@@ -148,8 +148,8 @@ void eDVBVolumecontrol::volumeUnMute()
 
        //HACK?
        FILE *f;
 
        //HACK?
        FILE *f;
-       if((f = fopen("/proc/stb/adc/j1_mute", "wb")) == NULL) {
-               printf("cannot open /proc/stb/adc/j1_mute\n");
+       if((f = fopen("/proc/stb/audio/j1_mute", "wb")) == NULL) {
+               printf("cannot open /proc/stb/audio/j1_mute\n");
                return;
        }
        
                return;
        }