From owner-freebsd-stable Fri Sep 11 19:56:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16634 for freebsd-stable-outgoing; Fri, 11 Sep 1998 19:56:26 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from krdl.org.sg (rodin.krdl.org.sg [137.132.252.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16545 for ; Fri, 11 Sep 1998 19:55:55 -0700 (PDT) (envelope-from wilson@krdl.org.sg) Received: from mailhost.krdl.org.sg (mailbox.krdl.org.sg [137.132.247.30]) by krdl.org.sg (8.9.0/8.9.0) with ESMTP id LAA18317; Sat, 12 Sep 1998 11:00:41 +0800 (SGT) Received: from witamach.krdl.org.sg (witamach [137.132.243.168]) by mailhost.krdl.org.sg (8.9.0/8.9.0) with SMTP id KAA20987; Sat, 12 Sep 1998 10:54:42 +0800 (SGT) Date: Sat, 12 Sep 1998 11:01:14 +0800 (SGT) From: Wilson Tam To: Luigi Rizzo cc: freebsd-stable@FreeBSD.ORG Subject: sound driver (pcm) block size must <= 2000 ? In-Reply-To: <199809120110.UAA13511@nospam.hiwaay.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi, I have a problem with the pcm sound driver for my creative card. The problem is when I try to issue the command: dd if=/dev/dsp of=record.raw bs=8000 count=1 The size of output file 'record.raw' always equal to 2000 rather than 8000 bytes specified by the 'bs'. However if I change the block size (bs) to <= 2000, the output file then has correct size. Is there any hints for fixing? The device line from 'dmesg' is: pcm1 (SB16pnp sn 0x0ffaa040) at 0x220 irq 5 drq 1 flags 0x15 id 15 cheers, wilson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message