FreeBSD Bugzilla – Attachment 152445 Details for
Bug 197247
audio/gkrellmvolume2: fix volume reading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch
gkrellmvolume2.patch (text/plain), 1.48 KB, created by
Dmitry Marakasov
on 2015-02-01 17:33:52 UTC
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-02-01 17:33:52 UTC
Size:
1.48 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 378114) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= gkrellmvolume > PORTVERSION= 2.1.13 >-PORTREVISION= 9 >+PORTREVISION= 10 > CATEGORIES= audio > MASTER_SITES= http://gkrellm.luon.net/files/ > PKGNAMESUFFIX= 2 >Index: files/patch-oss_mixer.c >=================================================================== >--- files/patch-oss_mixer.c (revision 378114) >+++ files/patch-oss_mixer.c (working copy) >@@ -1,7 +1,5 @@ >-Index: oss_mixer.c >-diff -u -p oss_mixer.c.orig oss_mixer.c >---- oss_mixer.c.orig Wed May 19 04:39:27 2004 >-+++ oss_mixer.c Wed May 19 04:39:43 2004 >+--- oss_mixer.c.orig 2004-08-20 00:07:27.000000000 +0400 >++++ oss_mixer.c 2015-02-01 20:21:32.000000000 +0300 > @@ -32,6 +32,9 @@ > #else > #include <sys/soundcard.h> >@@ -12,3 +10,12 @@ > > #include "mixer.h" > #include "oss_mixer.h" >+@@ -126,7 +129,7 @@ >+ long amount; >+ ioctl(OSSMIXER(mixer)->fd,MIXER_READ(OSSMIXER(mixer)->table[devid]),&amount); >+ *left = amount & 0xff; >+- *right = amount >> 8; >++ *right = (amount >> 8) & 0xff; >+ } >+ >+ static void >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 378114) >+++ pkg-descr (working copy) >@@ -2,5 +2,4 @@ > > A plugin for gkrellm 2.0, that lets you control your mixer.. > >-Author: Sjoerd Simons <Sjoerd@donald-duck.ele.tue.nl> >-WWW: http://gkrellm.luon.net/volume.phtml >+WWW: http://gkrellm.luon.net/volume.php
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197247
:
152443
|
152444
| 152445