Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 12:59:21 +0930 (CST)
From:      "Daniel O'Connor" <darius@dons.net.au>
To:        freebsd-multimedia@freebsd.org
Cc:        vanilla@freebsd.org
Subject:   Problems with ESD and new versions of PCM
Message-ID:  <XFMail.000610125921.darius@dons.net.au>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,
I had a problem using ESD after updating my version of -current, I mailed
Cameron and he gave me a patch to try, which I can report works fine :)

If you put the attached file in /usr/ports/audio/esound/patches and rebuild ESD
all is dandy..

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

[-- Attachment #2 --]
--- audio_oss.c~        Fri Jun  9 22:01:28 2000
+++ audio_oss.c Fri Jun  9 21:45:33 2000
@@ -47,7 +47,7 @@

     mode = fcntl(afd, F_GETFL);
     mode &= ~O_NONBLOCK;
-    fcntl(afd, F_SETFL);
+    fcntl(afd, F_SETFL, mode);

     /* TODO: check that this is allowable */
     /* set for full duplex operation, if recording */

help

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