openbsd-ports/audio/soundtracker/patches/patch-app_mixers_integer32_c
espie 2d6f9f9727 soundtracker, from maintainer.
A music editing program, in the grand tradition of amiga tracker programs.
2002-02-05 18:04:10 +00:00

22 lines
655 B
Plaintext

$OpenBSD: patch-app_mixers_integer32_c,v 1.1.1.1 2002/02/05 18:04:10 espie Exp $
--- app/mixers/integer32.c.orig Mon Feb 4 04:35:50 2002
+++ app/mixers/integer32.c Mon Feb 4 04:36:16 2002
@@ -277,7 +277,7 @@ integer32_mix (void *dest,
}
g_assert(c->sample->lock);
- g_mutex_lock(c->sample->lock);
+ pthread_mutex_lock(c->sample->lock);
while(t) {
/* Check how much of the sample we can fill in one run */
@@ -414,7 +414,7 @@ integer32_mix (void *dest,
c->current = j;
}
- g_mutex_unlock(c->sample->lock);
+ pthread_mutex_unlock(c->sample->lock);
}
/* modules with many channels get additional amplification here */