From: Takashi Iwai Subject: Re: snd_ctl_card_info from index Date: Mon, 09 Jan 2006 17:36:35 +0100 Message-ID: References: <1136492074.12380.11.camel@Tachyon.home> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1136492074.12380.11.camel@Tachyon.home> 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: "James C. Georgas" Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 05 Jan 2006 15:14:29 -0500, James C. Georgas wrote: > > alsa-lib question: > > How do I get the snd_ctl_card_info structure, given the card index? I'm > trying to write a program that enumerates all my cards and prints the > hardware information for each one. The easiest way is to open snd_ctl with a string like "hw:2". Takashi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click