Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 12:54:07 +0200
From:      Light <NOSP4M.fbsddisc@konto.pl>
To:        freebsd-questions@FreeBSD.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Problem with big range input/output
Message-ID:  <20020406224529.A393@bell-flower>

next in thread | raw e-mail | index | archive | help
	Hello. I have problem with recording sound and compressing it
with lame. I guess, that this may be a kernel tuning problem. I've
requested for help to many people, but nobody can help me. I'm posting
here expecting here are people who know very good internals of FreeBSD. 
	Forgive me, but it is very urgent problem for me, I'm archiving
radio programs on PC. 

	When I do:
$ mkfifo file.wav
$ rec -c 2 -s w -d /dev/dspW -r 44100 file.wav &
$ lame --preset cd file.wav file.mp3 

sound recorded by lame is strange; small parts of sound are lost, and I
can hear something like quiet beating. 
	Recording with rec (to regular file - no FIFO) also doesn't
	looks good. It loads CPU till 98% and sound quality is very bad.
First 3 secs of sound are great, but after 3 secs recorded .wav is like
divided and sound strange. 

	My question is: how to get the best performance of FIFO's in
kernel? Is the snd_emu10k1 driver complete and working? What I sould
change with sysctl to get sound recording working good? Are there any
options in LINT which may help to enlarge buffers and pci performance in
this case?
	My card: SB Live!, processor: PIII 450 MHz, RAM 128MB
	Regards, 
	light




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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