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-22 00:29:02 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-06-22 00:29:02 +0400
commitfba07308bf939352f6db4abbc19983a1d435060e (patch)
tree73ba8b2759dbb0c41b475324ac145394b6f82aa3 /intern/audaspace/Python
parentd5eaffda23274271e28bf499bd8d4555b0077079 (diff)
3D Audio GSoC:
- Converting AUD_SampleRate to a double - Removing AUD_DefaultMixer - Introducing AUD_ResampleReader as base class for all resampling readers.
Diffstat (limited to 'intern/audaspace/Python')
-rw-r--r--intern/audaspace/Python/AUD_PyAPI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/audaspace/Python/AUD_PyAPI.cpp b/intern/audaspace/Python/AUD_PyAPI.cpp
index 2a4cee4dd0e..12bb19644f0 100644
--- a/intern/audaspace/Python/AUD_PyAPI.cpp
+++ b/intern/audaspace/Python/AUD_PyAPI.cpp
@@ -2111,13 +2111,13 @@ Device_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
static const char *kwlist[] = {"type", "rate", "channels", "format", "buffer_size", "name", NULL};
int device;
- int rate = AUD_RATE_44100;
+ double rate = AUD_RATE_44100;
int channels = AUD_CHANNELS_STEREO;
int format = AUD_FORMAT_FLOAT32;
int buffersize = AUD_DEFAULT_BUFFER_SIZE;
const char* name = "Audaspace";
- if(!PyArg_ParseTupleAndKeywords(args, kwds, "i|iiiis:Device", const_cast<char**>(kwlist),
+ if(!PyArg_ParseTupleAndKeywords(args, kwds, "i|diiis:Device", const_cast<char**>(kwlist),
&device, &rate, &channels, &format, &buffersize, &name))
return NULL;