lkml.org 
[lkml]   [2001]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] More ioctls for VIA sound driver, Flash 5 now fixed
Pavel Roskin wrote:
>
> Hello!
>
> Flash plugin version 5 refuses to work with the VIA 82Cxxx driver. It
> turns out that Flash uses SNDCTL_DSP_NONBLOCK on /dev/dsp, which is not
> supported by the driver.
>
> I also looked what other ioctls can be implemented easily on VIA 82Cxxx.
> There is another one - SNDCTL_DSP_GETTRIGGER. Everything else is not
> trivial, sorry.
>
> This patch add support for SNDCTL_DSP_NONBLOCK and SNDCTL_DSP_GETTRIGGER.
> It can be found at http://www.red-bean.com/~proski/linux/via-ioctl.diff
>
> Flash 5 plugin plays just fine after applying the patch (check e.g.
> http://wcrb.com/sparks.html)

Thanks, applied.

I always thought SNDCTL_DSP_NONBLOCK was stupid and never implemented
it, since the same can be accomplished via fcntl(2). But not only this
but also some soundmodem utilities require this ioctl. Sigh. :)

Jeff


--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:11    [from the cache]
©2003-2011 Jasper Spaans