On Friday 14 November 2003 4:15 pm, William wrote:
> Any suggestions?
[..]
> AlsaDriver.cpp:2026: `_diskThreadLock' undeclared (first use this
> function) AlsaDriver.cpp:2026: (Each undeclared identifier is
> reported only once for each function it appears in.)
Yes, go into the sound directory and apply the attached patch:
$ patch -p0 < Alsa.patch
I've fixed this in CVS but anon CVS won't catch up for a day or two.
R
Index: AlsaDriver.cpp
===================================================================
RCS file: /cvsroot/rosegarden/sound/AlsaDriver.cpp,v
retrieving revision 1.248
diff -b -u -p -r1.248 AlsaDriver.cpp
--- AlsaDriver.cpp 14 Nov 2003 12:51:56 -0000 1.248
+++ AlsaDriver.cpp 15 Nov 2003 08:00:37 -0000
@@ -2023,7 +2023,9 @@ AlsaDriver::processNotesOff(const RealTi
void
AlsaDriver::processAudioQueue(const RealTime &playLatency, bool now)
{
+#ifdef HAVE_LIBJACK
pthread_mutex_lock(&_diskThreadLock);
+#endif // HAVE_LIBJACK
std::vector<PlayableAudioFile*>::iterator it;
RealTime currentTime = getSequencerTime() - playLatency;
@@ -2080,7 +2082,9 @@ AlsaDriver::processAudioQueue(const Real
}
+#ifdef HAVE_LIBJACK
pthread_mutex_unlock(&_diskThreadLock);
+#endif // HAVE_LIBJACK
}