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
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2011-06-06 02:06:29 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-06-06 02:06:29 +0400
commitef5f78ecc7a6a7aac04207d3733087db8d03f5a6 (patch)
tree1038ed34bb7bfb794b81eefd21c437ab6ca5d0c8 /intern/audaspace/Python
parentf2daf2ca6b9aec02ebe8108c6354d1aebc869e99 (diff)
3D Audio GSoC:
Making it possible to access blenders internal sounds via Python.
Diffstat (limited to 'intern/audaspace/Python')
-rw-r--r--intern/audaspace/Python/AUD_PyAPI.cpp6
-rw-r--r--intern/audaspace/Python/AUD_PyAPI.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/intern/audaspace/Python/AUD_PyAPI.cpp b/intern/audaspace/Python/AUD_PyAPI.cpp
index 53dfedee5eb..ac25ab34a69 100644
--- a/intern/audaspace/Python/AUD_PyAPI.cpp
+++ b/intern/audaspace/Python/AUD_PyAPI.cpp
@@ -2875,6 +2875,12 @@ Device_empty()
return DeviceType.tp_alloc(&DeviceType, 0);
}
+PyObject *
+Factory_empty()
+{
+ return FactoryType.tp_alloc(&FactoryType, 0);
+}
+
// ====================================================================
PyDoc_STRVAR(M_aud_doc,
diff --git a/intern/audaspace/Python/AUD_PyAPI.h b/intern/audaspace/Python/AUD_PyAPI.h
index d1a70ce892d..97e1e63b6eb 100644
--- a/intern/audaspace/Python/AUD_PyAPI.h
+++ b/intern/audaspace/Python/AUD_PyAPI.h
@@ -66,8 +66,8 @@ typedef struct {
PyMODINIT_FUNC
PyInit_aud(void);
-extern PyObject *
-Device_empty();
+extern PyObject* Device_empty();
+extern PyObject* Factory_empty();
#ifdef __cplusplus
}