Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2015 17:27:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197247] audio/gkrellmvolume2: fix volume reading
Message-ID:  <bug-197247-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197247

            Bug ID: 197247
           Summary: audio/gkrellmvolume2: fix volume reading
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ume@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
             Flags: maintainer-feedback?(ume@FreeBSD.org)
          Assignee: ume@FreeBSD.org

Created attachment 152443
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152443&action=edit
Patch

gkrellmvolume2 doesn't work correctly: the volume slider jumps back and forth
between real volume value and 100%. I don't know OSS well, but it seems like
ioctl which reads mixer value doesn't fill resulting value with zeroes, long
which is filled by ioctl may contain junk in higher bytes. Therefore, "amount
>> 8" used to extract right channel volume would also return junk in addition
to needed byte. The fix adds mask to extract only the needed byte.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer ume@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197247-13>