From a6c44c0e508ede5c25ebac534642d93d101be21e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Aug 2007 22:41:27 +0000 Subject: [PATCH] Remove unnecessary snd_pcm_hwsync() git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1565 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/modules/module-alsa-sink.c | 1 - src/modules/module-alsa-source.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/modules/module-alsa-sink.c b/src/modules/module-alsa-sink.c index 9fd01e4..ced42ee 100644 --- a/src/modules/module-alsa-sink.c +++ b/src/modules/module-alsa-sink.c @@ -547,7 +547,6 @@ static void thread_func(void *userdata) { } else { ssize_t l; - snd_pcm_hwsync(u->pcm_handle); if ((err = snd_pcm_status(u->pcm_handle, status)) >= 0) l = snd_pcm_status_get_avail(status) * u->frame_size; else diff --git a/src/modules/module-alsa-source.c b/src/modules/module-alsa-source.c index b2b0698..0fd7bca 100644 --- a/src/modules/module-alsa-source.c +++ b/src/modules/module-alsa-source.c @@ -535,7 +535,6 @@ static void thread_func(void *userdata) { } else { ssize_t l; - snd_pcm_hwsync(u->pcm_handle); if ((err = snd_pcm_status(u->pcm_handle, status)) >= 0) l = snd_pcm_status_get_avail(status) * u->frame_size; else -- 2.7.4