: [PATCH] added support uncommon "rate"
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1942>
======================================================================
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 fixedconv_rates in usbaudio.c.
======================================================================
----------------------------------------------------------------------
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