Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-02-21 22:54:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-21 22:54:18 +0300
commit3307d6d5097b12f9601a31c1d41b2fbab5228f9a (patch)
treef05f48b3a5fa930fbda9f6b8db5c18a7e16d4d71 /intern
parentaf835c52a908702391194b89760d8e2c239c3775 (diff)
building without jack was broken
Diffstat (limited to 'intern')
-rw-r--r--intern/audaspace/intern/AUD_C-API.cpp4
-rw-r--r--intern/audaspace/intern/AUD_C-API.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/intern/audaspace/intern/AUD_C-API.cpp b/intern/audaspace/intern/AUD_C-API.cpp
index d2540d59eda..f7394e36c4d 100644
--- a/intern/audaspace/intern/AUD_C-API.cpp
+++ b/intern/audaspace/intern/AUD_C-API.cpp
@@ -805,14 +805,14 @@ float AUD_getSequencerPosition(AUD_Handle* handle)
}
}
+#ifdef WITH_JACK
void AUD_setSyncCallback(AUD_syncFunction function, void* data)
{
-#ifdef WITH_JACK
AUD_JackDevice* device = dynamic_cast<AUD_JackDevice*>(AUD_device);
if(device)
device->setSyncCallback(function, data);
-#endif
}
+#endif
int AUD_doesPlayback()
{
diff --git a/intern/audaspace/intern/AUD_C-API.h b/intern/audaspace/intern/AUD_C-API.h
index a252ad904b6..a7372c29885 100644
--- a/intern/audaspace/intern/AUD_C-API.h
+++ b/intern/audaspace/intern/AUD_C-API.h
@@ -392,7 +392,9 @@ extern void AUD_seekSequencer(AUD_Handle* handle, float time);
extern float AUD_getSequencerPosition(AUD_Handle* handle);
+#ifdef WITH_JACK
extern void AUD_setSyncCallback(AUD_syncFunction function, void* data);
+#endif
extern int AUD_doesPlayback();