logo       

Re: Another pwc bug :-(: msg#00878

network.instant-messaging.amsn.devel

Subject: Re: Another pwc bug :-(

ouch! stupid driver! do you think it can be fixed in some way ? maybe in msncam.tcl, do if $::pwc == 1, then set new_value [expr $new_value << 1] or something...

KKRT

On Sat, 28 Jan 2006 11:39:51 -0500, Harry Vennik <htvennik@xxxxxxxxx> wrote:

Hi,

I think I found another pwc bug.

When setting the brightness to new_value, it is really set to (new_value >>
1). When setting contrast to new_value, it is actually set to (new_value >>
2).

Seems like pwc emulates a 0 - 255 range for both, while the actual range is 0
- 127 for brightness and 0 - 63 for contrast. The bug is that this emulation
is not complete: it is done only when setting an attribute. It gives the real
range when asked about it, and also doesn't convert back to the 0 - 255 range
when we get the value :S

Because of this, pwc users can set their brightness only in the range 0 - 63
and contrast only in 0 - 16! (With latest cvs. Before today, things were even
worse. Setting it was hardly possible because the slider had a fixed 0 -
65535 range).

Harry


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise