: HDSP speed/rate switching
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=768>
======================================================================
Reported By: kme Assigned To: charbonnel ====================================================================== Project: ALSA - tools Issue ID: 768 Category: hdsp progs Reproducibility: always Severity: feature Priority: normal Status: assigned ====================================================================== Date Submitted: 12-31-2004 18:40 CET Last Modified: 01-28-2005 21:16 CET
======================================================================
Summary: HDSP speed/rate switching
Description:
HDSP Muliface PCI:
HDSPconf/ALSA sampling rates do not switch between single and double speed rates when file with new rate is played or when JACK requests new rate. Rate switches work as desired within each range (single: 32K-48k, double:64k-96k) Discussed on LAU here:
http://eca.cx/lau/2004/12/0947.html
======================================================================
----------------------------------------------------------------------
charbonnel - 01-28-05 17:24
----------------------------------------------------------------------
You can't change the speed mode (single/double speed) while the device is in use (capture or playback). You have to manually switch to the desired speed mode before opening the device, because the number of available channels changes depending on the mode.
----------------------------------------------------------------------
kme - 01-28-05 21:16
----------------------------------------------------------------------
Thanks for the replies and fixes!
I understand the single/double problem with channel #s (18 to 14). It's obviously impossible to switch rates while the device is in use as the channel assignments would be jeopardized.
What I am looking for (from a user's point of view) is a way for ALSA to sense the new sampling rate and tell hdspconf, et al to change the rate/channels BEFORE the file is played or before JACK starts up with a new rate (or when an external device requests a new rate, i.e. "Autosync") just as it does with rates within each "speed".
Right now I do this switching automatically with commandline tools using a homemade "sndinfo" (header scan) + "amixer" (clock switch) bash function, pretty kludgie ;), but most GUI's still require manual interaction. Rather than surmounting this limitation with an ugly bash hack, is there no way to implement this in the driver?
Issue History
Date Modified Username Field Change
======================================================================
12-31-04 18:40 kme New Issue 01-28-05 17:24 charbonnel Note Added: 0003428 01-28-05 21:16 kme Note Added: 0003435
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl