[audacious-plugins/f13/master] - In pulse_flush() start with pulse_pause() to pa_stream_cork() playback quickly in order to avoid
Michael Schwendt
mschwendt at fedoraproject.org
Sat Aug 14 16:39:33 UTC 2010
commit 22348ed2ce06d3e34846e0d29cd54f1a9851bd3a
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sat Aug 14 18:39:32 2010 +0200
- In pulse_flush() start with pulse_pause() to pa_stream_cork()
playback quickly in order to avoid loud clicks/noise.
audacious-plugins-2.2-pulse-flush.patch | 12 ++++++++++++
audacious-plugins.spec | 9 ++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/audacious-plugins-2.2-pulse-flush.patch b/audacious-plugins-2.2-pulse-flush.patch
new file mode 100644
index 0000000..562716f
--- /dev/null
+++ b/audacious-plugins-2.2-pulse-flush.patch
@@ -0,0 +1,12 @@
+diff -Nur audacious-plugins-fedora-2.2-orig/src/pulse_audio/pulse_audio.c audacious-plugins-fedora-2.2/src/pulse_audio/pulse_audio.c
+--- audacious-plugins-fedora-2.2-orig/src/pulse_audio/pulse_audio.c 2009-11-22 23:49:53.000000000 +0100
++++ audacious-plugins-fedora-2.2/src/pulse_audio/pulse_audio.c 2010-08-14 18:36:53.000000000 +0200
+@@ -406,6 +406,8 @@
+ pa_operation *o = NULL;
+ int success = 0;
+
++ pulse_pause(1);
++
+ CHECK_CONNECTED();
+
+ pa_threaded_mainloop_lock(mainloop);
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index 120ef21..468c93f 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -5,7 +5,7 @@
Name: audacious-plugins
Version: 2.2
-Release: 35%{?dist}
+Release: 36%{?dist}
Summary: Plugins for the Audacious media player
Group: Applications/Multimedia
URL: http://audacious-media-player.org/
@@ -75,6 +75,8 @@ Patch21: audacious-plugins-2.2-ui_vis.patch
Patch22: audacious-plugins-2.2-g_markup.patch
# obsolete with version upgrade
Patch23: audacious-plugins-2.2-delete-ui-state_cb.patch
+#
+Patch24: audacious-plugins-2.2-pulse-flush.patch
BuildRequires: audacious-devel >= %{aud_ver}
BuildRequires: jack-audio-connection-kit-devel libsamplerate-devel
@@ -227,6 +229,7 @@ in Vortex (.vtx) format.
%patch21 -p1 -b .ui_vis
%patch22 -p1 -b .g_markup
%patch23 -p1 -b .delete-ui-state_cb
+%patch24 -p1 -b .pulse-flush
for i in src/ladspa/ladspa.c
do
@@ -328,6 +331,10 @@ update-desktop-database &> /dev/null || :
%changelog
+* Sat Aug 14 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 2.2-36
+- In pulse_flush() start with pulse_pause() to pa_stream_cork()
+ playback quickly in order to avoid loud clicks/noise.
+
* Mon Aug 2 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 2.2-35
- Nothing has ever before owned directory %%_libdir/audacious/ - now fixed.
More information about the scm-commits
mailing list