Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 1998 10:54:57 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Wilson Tam <wilson@krdl.org.sg>
Cc:        Luigi Rizzo <luigi@iet.unipi.it>, freebsd-stable@FreeBSD.ORG
Subject:   Re: sound driver (pcm) block size must <= 2000 ? 
Message-ID:  <199809121754.KAA00369@word.smith.net.au>
In-Reply-To: Your message of "Sat, 12 Sep 1998 11:01:14 %2B0800." <Pine.BSF.3.96.980912105837.27335B-100000@witamach.krdl.org.sg> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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