Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 18:35:13 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/12764: Patch for using x11amp with voxware (stolen from mailinglist)
Message-ID:  <199907221635.SAA75880@internal>

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

>Number:         12764
>Category:       kern
>Synopsis:       Patch for using x11amp with voxware (stolen from mailinglist)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 09:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

FreeBSD-3.2-STABLE

>Description:

x11amp doesn't work with voxware drivers.

>How-To-Repeat:

Use x11amp with voxware drivers :-)

>Fix:
	
A while ago someone (I think it was Luigi Rizzo but I may be wrong) someone posted
a patch to make x11amp work with voxware drivers. I am using it now for months
and never had sideeffects. Maybe someone could commit it to -STABLE (and -current
if applicable).


*** sys/i386/isa/sound/dmabuf.c.ORI	Fri Jun 18 11:13:27 1999
--- sys/i386/isa/sound/dmabuf.c	Fri Jun 18 11:13:48 1999
***************
*** 663,668 ****
--- 663,670 ----
  	return 0;
  	break;
  
+ #define THE_REAL_SNDCTL_DSP_GETBLKSIZE _IOWR('P', 4, int)
+     case THE_REAL_SNDCTL_DSP_GETBLKSIZE:
      case SNDCTL_DSP_GETBLKSIZE:
  	if (!(dmap_out->flags & DMA_ALLOC_DONE))
  	    reorganize_buffers(dev, dmap_out);




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


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




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