Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2000 01:01:23 -0800 (PST)
From:      sfarrell@almaden.ibm.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16311: patch for gqmpeg port to make mixer work
Message-ID:  <20000123090123.58765BA11@sfarrellhome.almaden.ibm.com>

next in thread | raw e-mail | index | archive | help

>Number:         16311
>Category:       ports
>Synopsis:       patch for gqmpeg port to make mixer work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 23 01:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     stephen farrell
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

Running gqmpeg /usr/ports/audio/gqmpeg with an es1371 & luigi's snd
code.  I do not have any way to test with the es1371 or its driver
is the problem, though that seems likely.

>Description:

mixer doesn't work.

>How-To-Repeat:

make the port and try to use the mixer on gqmpeg.  (it also doesn't
work for xmixer, though I don't include a patch for that.  It does
work for mixer and for xmix...)

>Fix:

$PORTS/audio/gqmpeg/work/gqmpeg-0.6.3/mixer.c

	
--- mixer.c.orig        Sun Jan 23 00:41:26 2000
+++ mixer.c     Sun Jan 23 00:51:30 2000
@@ -80,7 +80,7 @@
                }
 
        t = ioctl(mf, SOUND_MIXER_READ_DEVMASK, &dev_mask);
-       t|= ioctl(mf, SOUND_MIXER_READ_RECMASK, &rec_mask);
+       // t|= ioctl(mf, SOUND_MIXER_READ_RECMASK, &rec_mask);
        t|= ioctl(mf, SOUND_MIXER_READ_STEREODEVS, &stereo_mask);
        if (t!=0)
                {



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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