LMMS Memory Manager

This commit is contained in:
Vesa
2014-08-22 20:52:30 +03:00
parent 6f963159df
commit 9c25be1bde
25 changed files with 415 additions and 33 deletions

View File

@@ -24,8 +24,8 @@
*/
#ifndef _BIT_INVADER_H
#define _BIT_INVADER_H
#ifndef BIT_INVADER_H
#define BIT_INVADER_H
#include "Instrument.h"
#include "InstrumentView.h"
@@ -33,12 +33,14 @@
#include "knob.h"
#include "pixmap_button.h"
#include "led_checkbox.h"
#include "MemoryManager.h"
class oscillator;
class bitInvaderView;
class bSynth
{
MM_OPERATORS
public:
bSynth( float * sample, int length, NotePlayHandle * _nph,
bool _interpolation, float factor,

View File

@@ -31,11 +31,13 @@
#include "lmms_math.h"
#include "interpolation.h"
#include "MemoryManager.h"
template<class FX = DspEffectLibrary::StereoBypass>
class KickerOsc
{
MM_OPERATORS
public:
KickerOsc( const FX & fx, const float start, const float end, const float noise, const float offset,
const float slope, const float env, const float diststart, const float distend, const float length ) :

View File

@@ -189,6 +189,7 @@ class MonstroView;
class MonstroSynth
{
MM_OPERATORS
public:
MonstroSynth( MonstroInstrument * _i, NotePlayHandle * _nph );
virtual ~MonstroSynth();

View File

@@ -32,6 +32,7 @@
#include "TempoSyncKnob.h"
#include "NotePlayHandle.h"
#include "pixmap_button.h"
#include "MemoryManager.h"
#define makeknob( name, x, y, hint, unit, oname ) \
@@ -80,6 +81,7 @@ class NesInstrument;
class NesObject
{
MM_OPERATORS
public:
NesObject( NesInstrument * nes, const sample_rate_t samplerate, NotePlayHandle * nph );
virtual ~NesObject();

View File

@@ -8,8 +8,10 @@
#include "gb_apu/Gb_Apu.h"
#include "gb_apu/Multi_Buffer.h"
#include "MemoryManager.h"
class Basic_Gb_Apu {
MM_OPERATORS
public:
Basic_Gb_Apu();
~Basic_Gb_Apu();

View File

@@ -23,14 +23,14 @@
*/
#ifndef _PATMAN_H_
#define _PATMAN_H_
#ifndef PATMAN_H_
#define PATMAN_H_
#include "Instrument.h"
#include "InstrumentView.h"
#include "SampleBuffer.h"
#include "AutomatableModel.h"
#include "MemoryManager.h"
class pixmapButton;
@@ -79,6 +79,7 @@ public slots:
private:
typedef struct
{
MM_OPERATORS
SampleBuffer::handleState* state;
bool tuned;
SampleBuffer* sample;

View File

@@ -37,6 +37,7 @@
#include "led_checkbox.h"
#include "fluidsynth.h"
#include "SampleBuffer.h"
#include "MemoryManager.h"
class sf2InstrumentView;
class sf2Font;
@@ -173,6 +174,7 @@ signals:
// A soundfont in our font-map
class sf2Font
{
MM_OPERATORS
public:
sf2Font( fluid_sfont_t * f ) :
fluidFont( f ),

View File

@@ -34,6 +34,7 @@
#include "graph.h"
#include "pixmap_button.h"
#include "led_checkbox.h"
#include "MemoryManager.h"
enum SfxrWaves
@@ -69,6 +70,7 @@ class sfxrInstrument;
class SfxrSynth
{
MM_OPERATORS
public:
SfxrSynth( const sfxrInstrument * s );
virtual ~SfxrSynth();

View File

@@ -27,11 +27,12 @@
#include <QVector>
#include "vibrating_string.h"
#include "MemoryManager.h"
class stringContainer
{
MM_OPERATORS
public:
stringContainer(const float _pitch,
const sample_rate_t _sample_rate,

View File

@@ -35,6 +35,7 @@
#include "NotePlayHandle.h"
#include "pixmap_button.h"
#include <samplerate.h>
#include "MemoryManager.h"
#define makeknob( name, x, y, hint, unit, oname ) \
@@ -80,6 +81,7 @@ class WatsynInstrument;
class WatsynObject
{
MM_OPERATORS
public:
WatsynObject( float * _A1wave, float * _A2wave,
float * _B1wave, float * _B2wave,