[Bug 197247] audio/gkrellmvolume2: fix volume reading

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 1 17:27:44 UTC 2015


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 at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(ume at FreeBSD.org)
          Assignee: ume at 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 at FreeBSD.org> ---
Auto-assigned to maintainer ume at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list