: [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-24-2006 14:35 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.
======================================================================
----------------------------------------------------------------------
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
---
----------------------------------------------------------------------
Clemens Ladisch - 03-24-06 14:35
----------------------------------------------------------------------
Quoted 1 line
From your computer's POV, the device runs at about 45148 Hz. You might try
"count=40000" for a more precise measurement.
Anyway, mpg123 shouldn't complain, the OSS emulation is able to resample from any frequency.
Please try to use the ALSA interface instead of OSS.
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
03-24-06 14:35 Clemens LadischNote Added: 0008917
======================================================================
-------------------------------------------------------
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