openbsd-ports/audio/soundtracker/patches/patch-app_mixer_h
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

21 lines
729 B
Plaintext

$OpenBSD: patch-app_mixer_h,v 1.1.1.1 2002/02/05 18:04:10 espie Exp $
--- app/mixer.h.orig Mon Feb 4 04:21:58 2002
+++ app/mixer.h Mon Feb 4 04:37:12 2002
@@ -23,6 +23,7 @@
#define _ST_MIXER_H
#include <glib.h>
+#include <pthread.h>
typedef struct st_mixer_sample_info {
guint32 looptype; /* see ST_MIXER_SAMPLE_LOOPTYPE_ defines below */
@@ -30,7 +31,7 @@ typedef struct st_mixer_sample_info {
guint32 loopstart; /* offset in samples, not in bytes */
guint32 loopend; /* offset to first sample not being played */
gint16 *data; /* pointer to sample data */
- GMutex *lock;
+ pthread_mutex_t *lock;
} st_mixer_sample_info;
/* values for st_mixer_sample_info.looptype */