[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fb3395c46d4c8569790bfa0b75ecbefbcb1ec0d8)

Vlad Glagolev scm at sourcemage.org
Sun Jun 12 09:22:45 EDT 2011


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 audio-creation/mhwaveedit/DETAILS    |    1 +
 audio-creation/mhwaveedit/HISTORY    |    5 +++++
 audio-creation/mhwaveedit/PRE_BUILD  |    4 ++++
 audio-creation/mhwaveedit/alsa.patch |   11 +++++++++++
 4 files changed, 21 insertions(+)

New commits:
commit fb3395c46d4c8569790bfa0b75ecbefbcb1ec0d8
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    mhwaveedit: fixed recording with alsa

diff --git a/audio-creation/mhwaveedit/DETAILS b/audio-creation/mhwaveedit/DETAILS
index f28fd42..3c3e2c2 100755
--- a/audio-creation/mhwaveedit/DETAILS
+++ b/audio-creation/mhwaveedit/DETAILS
@@ -1,5 +1,6 @@
            SPELL=mhwaveedit
          VERSION=1.4.21
+      PATCHLEVEL=1
           SOURCE=$SPELL-$VERSION.tar.bz2
    SOURCE_URL[0]=http://download.gna.org/$SPELL/$SOURCE
      SOURCE_HASH=sha512:9d4f12cae243812f58d90dab1a1cef86ed62c0a2948f417bf5cfa4213621426dbd86e2293d514fdcc440d726851bd22d7e0728e60c1547fb9203672070864304
diff --git a/audio-creation/mhwaveedit/HISTORY b/audio-creation/mhwaveedit/HISTORY
index d3f1e76..1bc81b9 100644
--- a/audio-creation/mhwaveedit/HISTORY
+++ b/audio-creation/mhwaveedit/HISTORY
@@ -1,3 +1,8 @@
+2011-06-12 Vlad Glagolev <stealth at sourcemage.org>
+	* DETAILS: PATCHLEVEL=1
+	* PRE_BUILD: added, to apply the patch
+	* alsa.patch: fixed recording with event-driven i/o turned off
+
 2011-05-08 Vlad Glagolev <stealth at sourcemage.org>
 	* DETAILS: updated spell to 1.4.21
 
diff --git a/audio-creation/mhwaveedit/PRE_BUILD b/audio-creation/mhwaveedit/PRE_BUILD
new file mode 100755
index 0000000..0186409
--- /dev/null
+++ b/audio-creation/mhwaveedit/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/alsa.ptch"
diff --git a/audio-creation/mhwaveedit/alsa.patch b/audio-creation/mhwaveedit/alsa.patch
new file mode 100644
index 0000000..abc9a60
--- /dev/null
+++ b/audio-creation/mhwaveedit/alsa.patch
@@ -0,0 +1,11 @@
+--- src/sound-alsalib.c.orig	2011-05-08 02:40:52.000000000 +0400
++++ src/sound-alsalib.c	2011-06-12 17:20:28.262160147 +0400
+@@ -230,7 +230,7 @@
+      alsa_data.ready_func();
+      alsa_data.inside_ready_func = FALSE;     
+      if (alsa_data.rw_call_count == i) return -1;
+-     if (!alsa_data.eventdriv && alsa_output_want_data()) {
++     if (!alsa_data.eventdriv && alsa_data.whand!=NULL && alsa_output_want_data()) {
+ 	  if (alsa_data.csource == NULL) 
+ 	       alsa_data.csource = mainloop_constant_source_add(csource_func,NULL,FALSE);
+ 	  mainloop_constant_source_enable(alsa_data.csource,TRUE);


More information about the SM-Commit mailing list