[pulseaudio-commits] r1565 - in /branches/lennart/src/modules: module-alsa-sink.c module-alsa-source.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Aug 3 15:41:28 PDT 2007


Author: lennart
Date: Sat Aug  4 00:41:27 2007
New Revision: 1565

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1565&root=3Dpulseaudio&vi=
ew=3Drev
Log:
Remove unnecessary snd_pcm_hwsync()

Modified:
    branches/lennart/src/modules/module-alsa-sink.c
    branches/lennart/src/modules/module-alsa-source.c

Modified: branches/lennart/src/modules/module-alsa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-alsa-sink.c?rev=3D1565&root=3Dpulseaudio&r1=3D1564&r2=3D1565&view=3Ddi=
ff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/modules/module-alsa-sink.c (original)
+++ branches/lennart/src/modules/module-alsa-sink.c Sat Aug  4 00:41:27 2007
@@ -547,7 +547,6 @@
             } else {
                 ssize_t l;
 =

-                snd_pcm_hwsync(u->pcm_handle);
                 if ((err =3D snd_pcm_status(u->pcm_handle, status)) >=3D 0)
                     l =3D snd_pcm_status_get_avail(status) * u->frame_size;
                 else

Modified: branches/lennart/src/modules/module-alsa-source.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-alsa-source.c?rev=3D1565&root=3Dpulseaudio&r1=3D1564&r2=3D1565&view=3D=
diff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/modules/module-alsa-source.c (original)
+++ branches/lennart/src/modules/module-alsa-source.c Sat Aug  4 00:41:27 2=
007
@@ -535,7 +535,6 @@
             } else {
                 ssize_t l;
 =

-                snd_pcm_hwsync(u->pcm_handle);
                 if ((err =3D snd_pcm_status(u->pcm_handle, status)) >=3D 0)
                     l =3D snd_pcm_status_get_avail(status) * u->frame_size;
                 else




More information about the pulseaudio-commits mailing list