openbsd-ports/audio/soundtracker/patches/patch-app_mixers_kb-x86_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
672 B
Plaintext

$OpenBSD: patch-app_mixers_kb-x86_c,v 1.1.1.1 2002/02/05 18:04:10 espie Exp $
--- app/mixers/kb-x86.c.orig Mon Feb 4 04:35:55 2002
+++ app/mixers/kb-x86.c Mon Feb 4 04:36:34 2002
@@ -739,7 +739,7 @@ kb_x86_mix (void *dest,
}
g_assert(ch->sample->lock);
- g_mutex_lock(ch->sample->lock);
+ pthread_mutex_lock(ch->sample->lock);
while(num_samples_left && (ch->flags & KB_FLAG_SAMPLE_RUNNING)) {
int num_samples = 0;
@@ -770,7 +770,7 @@ kb_x86_mix (void *dest,
}
}
- g_mutex_unlock(ch->sample->lock);
+ pthread_mutex_unlock(ch->sample->lock);
}
clipflag = kbasm_post_mixing(kb_x86_tempbuf, (gint16*)dest, count, kb_x86_amplification);