]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Update to suspend messages
authorJaroslav Kysela <perex@perex.cz>
Thu, 4 Oct 2001 16:49:29 +0000 (16:49 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Oct 2001 16:49:29 +0000 (16:49 +0000)
aplay/aplay.c

index 1898f2a927462fb4cef7bc2dd98e9d1a00a9e1a6..f6ce57cd295aecb78565addc24c8b665d19e2a46 100644 (file)
@@ -874,19 +874,19 @@ static void suspend(void)
        int res;
 
        if (!quiet_mode)
-               fprintf(stderr, "Suspended... Trying resume..."); fflush(stderr);
+               fprintf(stderr, "Suspended. Trying resume. "); fflush(stderr);
        while ((res = snd_pcm_resume(handle)) == -EAGAIN)
                sleep(1);       /* wait until suspend flag is not released */
        if (res < 0) {
                if (!quiet_mode)
-                       fprintf(stderr, " Failed... Restarting stream..."); fflush(stderr);
+                       fprintf(stderr, "Failed. Restarting stream. "); fflush(stderr);
                if ((res = snd_pcm_prepare(handle)) < 0) {
                        error("suspend: prepare error: %s", snd_strerror(res));
                        exit(EXIT_FAILURE);
                }
        }
        if (!quiet_mode)
-               fprintf(stderr, "\n");
+               fprintf(stderr, "Done.\n");
 }
 
 /* peak handler */