Update of /cvsroot/alsa/alsa-utils/aplay
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26519

Modified Files:
        aplay.c 
Log Message:
print caption in hardware list only once

Index: aplay.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/aplay/aplay.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- aplay.c     3 May 2004 10:03:57 -0000       1.180
+++ aplay.c     10 Jun 2004 15:50:58 -0000      1.181
@@ -199,6 +199,7 @@
                error("no soundcards found...");
                return;
        }
+       fprintf(stderr, "**** List of %s Hardware Devices ****\n", 
snd_pcm_stream_name(stream));
        while (card >= 0) {
                char name[32];
                sprintf(name, "hw:%d", card);
@@ -211,7 +212,6 @@
                        snd_ctl_close(handle);
                        goto next_card;
                }
-               fprintf(stderr, "**** List of %s Hardware Devices ****\n", 
snd_pcm_stream_name(stream));
                dev = -1;
                while (1) {
                        unsigned int count;



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to