rpms/squeak-vm/F-11 alsa-scratchy-sound.patch, NONE, 1.1 squeak-vm.spec, 1.3, 1.4

Daniel Drake dsd at fedoraproject.org
Mon Dec 28 11:45:42 UTC 2009


Author: dsd

Update of /cvs/pkgs/rpms/squeak-vm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31958

Modified Files:
	squeak-vm.spec 
Added Files:
	alsa-scratchy-sound.patch 
Log Message:
fix crackly sound

alsa-scratchy-sound.patch:
 sqUnixSoundALSA.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- NEW FILE alsa-scratchy-sound.patch ---
http://tracker.squeakland.org/browse/SQ-638
http://dev.laptop.org/ticket/9375

--- trunk/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c	2008/04/28 19:04:11	1857
+++ trunk/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c	2009/12/17 18:29:39	2147
@@ -2,7 +2,7 @@
  *
  * Author: Ian.Piumarta at squeakland.org
  * 
- * Last edited: 2008-04-21 14:48:26 by piumarta on emilia
+ * Last edited: 2009-12-17 10:26:20 by piumarta on ubuntu
  *
  *   Copyright (C) 2006 by Ian Piumarta
  *   All rights reserved.
@@ -168,7 +168,8 @@
   if (!output_handle) return 0;
 
   snd_pcm_delay(output_handle, &delay);
-  state= snd_pcm_state (output_handle);
+  snd_pcm_avail_update(output_handle);
+  state= snd_pcm_state(output_handle);
 
   /* if underrun causes, max delay is loosened */
   if (state == SND_PCM_STATE_XRUN)


Index: squeak-vm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/squeak-vm/F-11/squeak-vm.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- squeak-vm.spec	21 Jul 2009 04:20:21 -0000	1.3
+++ squeak-vm.spec	28 Dec 2009 11:45:42 -0000	1.4
@@ -5,7 +5,7 @@
 
 Name:           squeak-vm
 Version:        %{major}.%{minor}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The Squeak virtual machine
 
 Group:          Development/Languages
@@ -18,6 +18,7 @@ Patch1:         squeak-vm-install-inisqu
 Patch2:         squeak-vm-imgdir.patch
 Patch3:         squeak-vm-tail-options.patch
 Patch4:         squeak-vm-dprintf.patch
+Patch5:         alsa-scratchy-sound.patch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Requires(post): shared-mime-info
@@ -87,6 +88,7 @@ find platforms -name '*.[ch]' -exec chmo
 %patch2 -p1 -b .imgdir
 %patch3 -p1 -b .tail-options
 %patch4 -p1 -b .dprintf
+%patch5 -p1 -b .alsa-scratchy
 
 %build
 mkdir -p bld
@@ -218,6 +220,9 @@ update-desktop-database &> /dev/null || 
 %endif
 
 %changelog
+* Mon Dec 28 2009 Daniel Drake <dsd at laptop.org> - 3.10.5-2
+- Add (already upstream) patch to fix crackly sound output
+
 * Mon Jul 20 2009 Gavin Romig-Koch <gavin at redhat.com> - 3.10.5-1
   - upgrade to new upstream
   - work around dprintf problem




More information about the fedora-extras-commits mailing list