From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Knecht Subject: Re: Maintaining sound card at a specific frequency Date: Wed, 19 Jan 2005 11:49:04 -0800 Message-ID: <5bdc1c8b050119114935d0795b@mail.gmail.com> References: <5bdc1c8b050116130511757cbf@mail.gmail.com> Reply-To: Mark Knecht Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Wed, 19 Jan 2005 10:07:18 +0100 (MET), Clemens Ladisch wrote: > Mark Knecht wrote: > > However if I open Mozilla and browse around the Pro Tools side starts > > telling me that the ADAT clock is invalid. My suspicion is that the > > web page I went to in Mozilla has some sort of audio content on it and > > it's not encoded at the frequency I'm running at so Mozilla tries to > > change the frequency of the card to adjust. > > If you don't care about sound in Mozilla(/Flash), you could load the > snd-dummy driver and redirect the /dev/dsp symlink to that 'card' > ("ln -sf /dev/dsp1 /dev/dsp", assuming the card number is 1). > > HTH > Clemens > > Clemens, Hi. No, on the contrary, I do care about Mozilla having audio access. From this thread I think the set of features people like me would be looking for would be something like this: 1) When Alsa is started the sound card comes up running in a known frequency. Solved with an amixer command in rc.local or some other config file. 2) When Alsa is started the sound card comes up with a default set of mixer values. Not sure how to solve this yet for the HDSP 9652 but I presume another set of amixer commands may do this also. 3) When browsing the web, playing games or doing some other set of "normal everyday user" functions, audio commands from the application will not change the frequency of the card. I presume that this *might* be accomplished with some new default device in my .asoundrc file and using the plughw macro and software resampling, along with some capability like Takashi's modification to lock the sample rate. 4) When a special audio control app like qjackctl initializes Jack then Jack can change the sample rate of the card. This allows me to have the Linux box as the main sample rate controller over the network when it needs to be. I think the above set of ideas would be pretty much what I'm looking for, but that still needs to be discussed a bit before anyone starts making major changes. Thanks! - Mark ------------------------------------------------------- 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