Date: Thu, 17 Jun 1999 21:48:02 +0900 (JST) From: sanpei@sanpei.org To: FreeBSD-gnats-submit@freebsd.org Subject: i386/12257: [Patch] sb(VoxWare) sound driver patch for x11amp Message-ID: <199906171248.VAA03057@lavender.yy.cs.keio.ac.jp>
index | next in thread | raw e-mail
>Number: 12257
>Category: i386
>Synopsis: [Patch] sb(VoxWare) sound driver patch for x11amp
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 17 05:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: MIHIRA Yoshiro
>Release: FreeBSD 3.2-RELEASE i386
>Organization:
Keio Univ.
>Environment:
3.2-RELEASE
with Ensoniq VIVO sound card
>Description:
Current sb sound driver (aka Voxware sound support code)
do not play MP3 with x11amp-0.8.
Because some patches are not merged from pcm changes
in sys/i386/isa/snd/sound.c between 1.16 and 1.17 in CVS repository.
I apply this chage to sb sound driver.
I can play MP3 with x11amp.
P.S.
Some MP3 player, like mpg123 does not need this patch.
But x11amp needs.
>How-To-Repeat:
>Fix:
--- sys/i386/isa/sound/dmabuf.c.org Thu Jun 17 21:39:43 1999
+++ sys/i386/isa/sound/dmabuf.c Thu Jun 17 21:40:31 1999
@@ -663,6 +663,8 @@
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906171248.VAA03057>
