Fix 64 bit, increase mm usage

This commit is contained in:
Vesa
2014-08-23 00:52:18 +03:00
parent 9c25be1bde
commit 75770b4d2e
12 changed files with 21 additions and 6 deletions

View File

@@ -32,7 +32,7 @@
#include "Model.h"
#include "MidiTime.h"
#include "ValueBuffer.h"
#include "MemoryManager.h"
// simple way to map a property of a view to a model
#define mapPropertyFromModelPtr(type,getfunc,setfunc,modelname) \
@@ -66,6 +66,7 @@ class ControllerConnection;
class EXPORT AutomatableModel : public Model, public JournallingObject
{
Q_OBJECT
MM_OPERATORS
public:
typedef QVector<AutomatableModel *> AutoModelVector;

View File

@@ -32,10 +32,11 @@
#include "export.h"
#include "lmms_basics.h"
#include "MemoryManager.h"
class EXPORT DataFile : public QDomDocument
{
MM_OPERATORS
public:
enum Types
{

View File

@@ -39,6 +39,7 @@ class EffectControls;
class EXPORT Effect : public Plugin
{
MM_OPERATORS
public:
Effect( const Plugin::Descriptor * _desc,
Model * _parent,

View File

@@ -43,6 +43,7 @@ class track;
class EXPORT Instrument : public Plugin
{
MM_OPERATORS
public:
enum Flag
{

View File

@@ -31,10 +31,12 @@
#include <QObject>
#include "lmms_basics.h"
#include "lmms_math.h"
#include "MemoryManager.h"
class RingBuffer : public QObject
{
Q_OBJECT
MM_OPERATORS
public:
/** \brief Constructs a ringbuffer of specified size, will not care about samplerate changes
* \param size The size of the buffer in frames. The actual size will be size + period size

View File

@@ -52,6 +52,7 @@ const f_cnt_t MARGIN[] = { 64, 64, 64, 4, 4 };
class EXPORT SampleBuffer : public QObject, public sharedObject
{
Q_OBJECT
MM_OPERATORS
public:
enum LoopMode {
LoopOff = 0,

View File

@@ -29,9 +29,11 @@
#include <QtGlobal>
#include "interpolation.h"
#include <string.h>
#include "MemoryManager.h"
class ValueBuffer
{
MM_OPERATORS
public:
ValueBuffer()
{