Mercurial > hg > vampy
comparison PyExtensionModule.cpp @ 34:c905122f79e7 vampy2
* Fixes from OpenSolaris build
| author | cannam |
|---|---|
| date | Wed, 23 Sep 2009 12:07:32 +0000 |
| parents | 4f1894c7591b |
| children |
comparison
equal
deleted
inserted
replaced
| 33:c4da8d559872 | 34:c905122f79e7 |
|---|---|
| 42 | 42 |
| 43 RealTimeObject *self; | 43 RealTimeObject *self; |
| 44 self = PyObject_New(RealTimeObject, &RealTime_Type); | 44 self = PyObject_New(RealTimeObject, &RealTime_Type); |
| 45 if (self == NULL) return NULL; | 45 if (self == NULL) return NULL; |
| 46 | 46 |
| 47 self->rt = new RealTime::RealTime( | 47 self->rt = new RealTime( |
| 48 RealTime::frame2RealTime(frame,sampleRate)); | 48 RealTime::frame2RealTime(frame,sampleRate)); |
| 49 | 49 |
| 50 return (PyObject *) self; | 50 return (PyObject *) self; |
| 51 } | 51 } |
| 52 | 52 |
