~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to Opcodes/babo.c

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
                    Move static fn declarations out of function
124
124
 */
125
125
 
126
 
#include "csdl.h"
 
126
//#include "csdl.h"
 
127
#include "csoundCore.h"
127
128
#include "babo.h"
128
129
#include <math.h>
 
130
#include "interlocks.h"
129
131
 
130
132
#if !defined(FLT_MAX)
131
133
#define FLT_MAX         (1.0e38)
153
155
 
154
156
    csound->AuxAlloc(csound, size_in_bytes, &this->memptr);
155
157
 
156
 
    memset(this->memptr.auxp, 0, size_in_bytes);
 
158
    //memset(this->memptr.auxp, 0, size_in_bytes);
157
159
 
158
160
    this->samples = size_in_floats;
159
161
 
818
820
 
819
821
#define S(x)    sizeof(x)
820
822
 
821
 
static OENTRY localops[] = {
822
 
{ "babo",   S(BABO), 5, "aa", "akkkiiijj",(SUBR)baboset, NULL, (SUBR)babo   }
 
823
static OENTRY babo_localops[] = {
 
824
  { "babo",   S(BABO), TR|5, "aa", "akkkiiijj",(SUBR)baboset, NULL, (SUBR)babo   },
823
825
};
824
826
 
825
 
LINKAGE
 
827
LINKAGE1(babo_localops)
826
828