* [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices.
@ 2005-09-19 22:18 Sasha Khapyorsky
2005-09-29 10:50 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Khapyorsky @ 2005-09-19 22:18 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices.
2005-09-19 22:18 [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices Sasha Khapyorsky
@ 2005-09-29 10:50 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-09-29 10:50 UTC (permalink / raw)
To: Sasha Khapyorsky; +Cc: Jaroslav Kysela, alsa-devel
At Tue, 20 Sep 2005 01:18:52 +0300,
Sasha Khapyorsky wrote:
>
>
> Extend 'alsactl names' to show phoneline and modem device names.
>
> Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Applied. Thanks.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-29 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-19 22:18 [alsa-utils/alsactl patch] Extend 'alsactl names' to show modem devices Sasha Khapyorsky
2005-09-29 10:50 ` Takashi Iwai
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.