enable color on thedoc's box (depends as usual on mac)
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 2 Sep 2005 21:59:24 +0000 (21:59 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Fri, 2 Sep 2005 21:59:24 +0000 (21:59 +0000)
lib/driver/avswitch.cpp

index 31db25a..f7b1bbd 100644 (file)
@@ -17,6 +17,10 @@ eAVSwitch::eAVSwitch()
        instance = this;
        
        avsfd = open("/dev/dbox/avs0", O_RDWR);
        instance = this;
        
        avsfd = open("/dev/dbox/avs0", O_RDWR);
+       
+       //enable colors on thedoc's tv 
+       ioctl(avsfd, 0x1000 | 35, 2);
+       ioctl(avsfd, 0x1000 | 9, 1);
 }
 
 eAVSwitch::~eAVSwitch()
 }
 
 eAVSwitch::~eAVSwitch()