mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
Remove unnecessary snd_pcm_hwsync()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1565 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9a4e84ade9
commit
a6c44c0e50
2 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue