From owner-freebsd-stable Sat Sep 12 10:49:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25629 for freebsd-stable-outgoing; Sat, 12 Sep 1998 10:49:46 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from word.smith.net.au (castles152.castles.com [208.214.165.152]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25614 for ; Sat, 12 Sep 1998 10:49:38 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id KAA00369; Sat, 12 Sep 1998 10:54:59 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809121754.KAA00369@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Wilson Tam cc: Luigi Rizzo , freebsd-stable@FreeBSD.ORG Subject: Re: sound driver (pcm) block size must <= 2000 ? In-reply-to: Your message of "Sat, 12 Sep 1998 11:01:14 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 12 Sep 1998 10:54:57 -0700 From: Mike Smith 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? Use a value less than 2000, obviously. It's an error to specify a block size larger than the block size of the device. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message