diff options
author | Gerd Knorr <devnull@localhost> | 2005-02-10 10:38:05 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2005-02-10 10:38:05 +0000 |
commit | 390439a668a9a5ec08ea0d8768a88afe92188477 (patch) | |
tree | cf6e3d442cc8e8361dd8726114bd1c9ca6cc1950 /linux/drivers/media/video/msp3400.c | |
parent | d181639581de477cc7fbb3fc044e5a7c1c91074e (diff) | |
download | mediapointer-dvb-s2-390439a668a9a5ec08ea0d8768a88afe92188477.tar.gz mediapointer-dvb-s2-390439a668a9a5ec08ea0d8768a88afe92188477.tar.bz2 |
- pcHDTV HD3000 support (by Rusty Scott).
Diffstat (limited to 'linux/drivers/media/video/msp3400.c')
-rw-r--r-- | linux/drivers/media/video/msp3400.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c index 07117009e..7183480a8 100644 --- a/linux/drivers/media/video/msp3400.c +++ b/linux/drivers/media/video/msp3400.c @@ -381,7 +381,9 @@ static void msp3400c_setvolume(struct i2c_client *client, int val = 0, bal = 0; if (!muted) { - val = (volume * 0x7F / 65535) << 8; + /* 0x7f instead if 0x73 here has sound quality issues, + * probably due to overmodulation + clipping ... */ + val = (volume * 0x73 / 65535) << 8; } if (val) { bal = (balance / 256) - 128; |