From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Gatliff Subject: How to get ac97_t pointer from snd_pcm_substream_t? Date: Mon, 10 Oct 2005 12:31:22 -0500 Message-ID: <434AA56A.2020704@billgatliff.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Guys: I want to call snd_ac97_set_rate() from my PCM prepare() handler. I can't seem to figure out how to get the codec pointer (ac97 in my case) from a snd_pcm_substream_t. Is it possible? Thanks! b.g. -- Bill Gatliff bgat@billgatliff.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl