From owner-freebsd-multimedia Fri Sep 15 5:30:50 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.2]) by hub.freebsd.org (Postfix) with ESMTP id 1CD8037B422 for ; Fri, 15 Sep 2000 05:30:38 -0700 (PDT) Received: from urc.ac.ru (belle.rnoc.urc.ac.ru [193.233.85.10]) by rnocserv.urc.ac.ru (8.11.0/8.9.3) with ESMTP id e8FCUQN63368 for ; Fri, 15 Sep 2000 18:30:29 +0600 (ESS) (envelope-from anton@urc.ac.ru) Message-ID: <39C2165F.28CBAFBE@urc.ac.ru> Date: Fri, 15 Sep 2000 18:30:24 +0600 From: Anton Voronin Organization: URC FREEnet X-Mailer: Mozilla 4.74 [ru ] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: pcm & full-duplex Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I just wish to ask, is it a bug or an intended behaviour of ioctl's SNDCTL_DSP_GETCAPS command, that it reports full-duplex capability only when applied to file descriptor opened with O_RDWR but not with O_RDONLY? Some applications (like rat) check for full-duplex using O_RDONLY, and so fail to operate with it... Regards, Anton -- Anton Voronin Ural Regional Center of FREEnet, Southern Ural State University, Chelyabinsk, Russia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message