All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Khapyorsky <sashak@smlink.com>
To: Jaroslav Kysela <perex@suse.cz>, Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices.
Date: Tue, 20 Sep 2005 01:18:52 +0300	[thread overview]
Message-ID: <20050919221852.GC15916@tecr> (raw)


Extend 'alsactl names' to show phoneline and modem device names.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>

Index: alsa-utils/alsactl/names.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/alsactl/names.c,v
retrieving revision 1.5
diff -u -p -r1.5 names.c
--- alsa-utils/alsactl/names.c	17 May 2005 10:38:07 -0000	1.5
+++ alsa-utils/alsactl/names.c	19 Sep 2005 13:28:54 -0000
@@ -204,6 +204,8 @@ static int probe_pcm_card(int card, snd_
 		"surround51:%i", "Front, Rear, Center and Woofer",
 		"surround71:%i", "Front, Rear, Side, Center and Woofer",
 		"spdif:%i", "S/PDIF (IEC958) Optical or Coaxial Wire",
+		"phoneline:%i", "Phone Line Interface",
+		"modem:%i", "Soft Modem",
 		NULL
 	};
 	
@@ -239,7 +241,8 @@ static int probe_pcm_card(int card, snd_
 			class = snd_pcm_info_get_class(info2);
 		}
 		if (class != SND_PCM_CLASS_GENERIC &&
-		    class != SND_PCM_CLASS_MULTI)	/* skip this */
+		    class != SND_PCM_CLASS_MULTI &&
+		    class != SND_PCM_CLASS_MODEM )	/* skip this */
 			continue;
 		if (first) {
 			for (idx = 0; vnames1[idx] != NULL; idx += 2)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

             reply	other threads:[~2005-09-19 22:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19 22:18 Sasha Khapyorsky [this message]
2005-09-29 10:50 ` [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050919221852.GC15916@tecr \
    --to=sashak@smlink.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perex@suse.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.