From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 11 03:36:55 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545AB106566C; Sun, 11 Sep 2011 03:36:55 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id EBC8A8FC13; Sun, 11 Sep 2011 03:36:54 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Sep 2011 23:08:27 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.2.3-GA) with ESMTP id BHF66121; Sat, 10 Sep 2011 23:08:26 -0400 Received-SPF: None identity=pra; client-ip=209.6.61.133; receiver=smtp01.lnh.mail.rcn.net; envelope-from="mi@aldan.algebra.com"; x-sender="mi@aldan.algebra.com"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=209.6.61.133; receiver=smtp01.lnh.mail.rcn.net; envelope-from="mi@aldan.algebra.com"; x-sender="mi@aldan.algebra.com"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=209.6.61.133; receiver=smtp01.lnh.mail.rcn.net; envelope-from="mi@aldan.algebra.com"; x-sender="postmaster@narawntapu.narawntapu"; x-conformance=sidf_compatible X-Auth-ID: anat Received: from 209-6-61-133.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com (HELO narawntapu.narawntapu) ([209.6.61.133]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Sep 2011 23:08:26 -0400 Received: from narawntapu.narawntapu (localhost [127.0.0.1]) by narawntapu.narawntapu (8.14.4/8.14.4) with ESMTP id p8B38b6s057146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Sep 2011 23:08:37 -0400 (EDT) (envelope-from mi@narawntapu.narawntapu) Received: (from mi@localhost) by narawntapu.narawntapu (8.14.4/8.14.4/Submit) id p8B38btZ057145; Sat, 10 Sep 2011 23:08:37 -0400 (EDT) (envelope-from mi) From: "Mikhail T." Message-Id: <201109110308.p8B38btZ057145@narawntapu.narawntapu> To: freebsd-multimedia@FreeBSD.org Date: Sat, 10 Sep 2011 23:08:37 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 03:36:55 -0000 Hello! I have a Logitech's webcam with built-in microphone. The audio device is recognized by FreeBSD-8-stable as: uaudio0: on usbus2 uaudio0: No playback! uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer pcm1: on uaudio0 mixer(8) reports it a little strangely, depending on which /dev-entry I use: % mixer -f /dev/mixer1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 % mixer -f /dev/dsp1 Mixer rec is currently set to 45:45 But recording works. For example, using the rec-utility from the SoX package: % env AUDIODEV=/dev/dsp1 rec /tmp/test.aiff Input File : '/dev/dsp1' (ossdsp) Channels : 2 Sample Rate : 48000 Precision : 16-bit Sample Encoding: 16-bit Signed Integer PCM Well, it almost works, because the recording ends up highly distorted -- much faster, than what I'm really saying into microphone. About three times faster. For example, if I let the above command run for 18 seconds (according to time(1)), the created test.aiff will contain a 6-seconds recording. How do I fix this? Thanks! Yours, -mi