[pulseaudio-commits] r1553 - /branches/lennart/src/modules/module-oss.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sat Jul 28 12:27:02 PDT 2007
Author: lennart
Date: Sat Jul 28 21:27:01 2007
New Revision: 1553
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1553&root=3Dpulseaudio&vi=
ew=3Drev
Log:
reload OSS volume after unsuspend
Modified:
branches/lennart/src/modules/module-oss.c
Modified: branches/lennart/src/modules/module-oss.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-oss.c?rev=3D1553&root=3Dpulseaudio&r1=3D1552&r2=3D1553&view=3Ddiff
=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-oss.c (original)
+++ branches/lennart/src/modules/module-oss.c Sat Jul 28 21:27:01 2007
@@ -559,6 +559,11 @@
=
u->out_mmap_current =3D u->in_mmap_current =3D 0;
u->out_mmap_saved_nfrags =3D u->in_mmap_saved_nfrags =3D 0;
+
+ if (u->sink)
+ pa_sink_get_volume(u->sink);
+ if (u->source)
+ pa_source_get_volume(u->source);
=
/* Now, start only what we need */
trigger(u, 0);
More information about the pulseaudio-commits
mailing list