From b009e6956c97acae0dad1af49b11e903c8109031 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 24 Oct 2001 14:41:10 +0000 Subject: [PATCH] Small cleanups --- aplay/aplay.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index f6ce57c..b734235 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -470,10 +470,6 @@ int main(int argc, char *argv[]) } if (mmap_flag) { - snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size); - snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size); - snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); - snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); writei_func = snd_pcm_mmap_writei; readi_func = snd_pcm_mmap_readi; writen_func = snd_pcm_mmap_writen; @@ -876,7 +872,7 @@ static void suspend(void) if (!quiet_mode) fprintf(stderr, "Suspended. Trying resume. "); fflush(stderr); while ((res = snd_pcm_resume(handle)) == -EAGAIN) - sleep(1); /* wait until suspend flag is not released */ + sleep(1); /* wait until suspend flag is released */ if (res < 0) { if (!quiet_mode) fprintf(stderr, "Failed. Restarting stream. "); fflush(stderr);