From: bugtrack@alsa-project.org Subject: [ALSA - tools 0000768]: HDSP speed/rate switching Date: Fri, 28 Jan 2005 21:16:35 +0100 Message-ID: <35c38cb2dc940cb4e559702bdd6a5baa@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 [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 4D4E820A for ; Fri, 28 Jan 2005 21:16:36 +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: 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