From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001942]: [PATCH] added support uncommon "rate" Date: Thu, 23 Mar 2006 23:47:22 +0100 Message-ID: <84f81dbc6dfaeac4e3a192b8ec37a670@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 1AA151CD for ; Thu, 23 Mar 2006 23:47:23 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: os-bebas Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 1942 Category: USB - usb-audio Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: UBuntu Dapper Drake Kernel Version: 2.6.15.6 ====================================================================== Date Submitted: 03-18-2006 23:48 CET Last Modified: 03-23-2006 23:47 CET ====================================================================== Summary: [PATCH] added support uncommon "rate" Description: attached you can find a simple patch to match "uncommon" rate in some USB speaker to the fixed conv_rates in usbaudio.c. Signed-off-by: S. Effendi ====================================================================== ---------------------------------------------------------------------- Clemens Ladisch - 03-23-06 19:09 ---------------------------------------------------------------------- What the USB audio specification says has only a rather vague similarity with what real devices implement. I wanted to see how many bytes per second the device accepts, but the OSS emulation automatically converted from 8000 Hz. Please show the output of "time ( dd if=/dev/zero bs=1000 count=4000 | aplay -D hw:1 -t raw -f cd - )". ---------------------------------------------------------------------- os-bebas - 03-23-06 23:47 ---------------------------------------------------------------------- I hope this will help. best regards. --- root@d1:~# time ( dd if=/dev/zero bs=1000 count=4000 | aplay -D hw:1 -t raw -f cd - ) Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo 4000+0 records in 4000+0 records out 4000000 bytes (4.0 MB) copied, 22.1492 seconds, 181 kB/s real 0m23.171s user 0m0.013s sys 0m0.014s --- Issue History Date Modified Username Field Change ====================================================================== 03-18-06 23:48 os-bebas New Issue 03-18-06 23:48 os-bebas File Added: alsa_usbaudio_conv_rates_fixed.patch 03-18-06 23:48 os-bebas Distribution => UBuntu Dapper Drake 03-18-06 23:48 os-bebas Kernel Version => 2.6.15.6 03-20-06 09:09 Clemens LadischNote Added: 0008712 03-23-06 18:30 os-bebas Note Added: 0008900 03-23-06 19:09 Clemens LadischNote Added: 0008901 03-23-06 23:47 os-bebas Note Added: 0008906 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642