summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/AlsaMidiDriver.cpp6
-rw-r--r--src/libs/engine/AlsaMidiDriver.h4
-rw-r--r--src/libs/engine/AudioDriver.h4
-rw-r--r--src/libs/engine/Buffer.cpp4
-rw-r--r--src/libs/engine/Buffer.h4
-rw-r--r--src/libs/engine/ClientBroadcaster.cpp6
-rw-r--r--src/libs/engine/ClientBroadcaster.h4
-rw-r--r--src/libs/engine/Connection.cpp4
-rw-r--r--src/libs/engine/Connection.h4
-rw-r--r--src/libs/engine/Controller.h6
-rw-r--r--src/libs/engine/DSSINode.cpp4
-rw-r--r--src/libs/engine/DSSINode.h4
-rw-r--r--src/libs/engine/DataType.h6
-rw-r--r--src/libs/engine/Driver.h6
-rw-r--r--src/libs/engine/DuplexPort.cpp4
-rw-r--r--src/libs/engine/DuplexPort.h4
-rw-r--r--src/libs/engine/Event.h4
-rw-r--r--src/libs/engine/EventSource.h4
-rw-r--r--src/libs/engine/GraphObject.h4
-rw-r--r--src/libs/engine/Ingen.cpp6
-rw-r--r--src/libs/engine/Ingen.h6
-rw-r--r--src/libs/engine/InputPort.cpp4
-rw-r--r--src/libs/engine/InputPort.h4
-rw-r--r--src/libs/engine/InternalNode.h6
-rw-r--r--src/libs/engine/JackAudioDriver.cpp12
-rw-r--r--src/libs/engine/JackAudioDriver.h4
-rw-r--r--src/libs/engine/JackMidiDriver.cpp4
-rw-r--r--src/libs/engine/JackMidiDriver.h4
-rw-r--r--src/libs/engine/LADSPANode.cpp4
-rw-r--r--src/libs/engine/LADSPANode.h4
-rw-r--r--src/libs/engine/LV2Node.cpp4
-rw-r--r--src/libs/engine/LV2Node.h4
-rw-r--r--src/libs/engine/LashDriver.cpp6
-rw-r--r--src/libs/engine/LashDriver.h4
-rw-r--r--src/libs/engine/Makefile.am1
-rw-r--r--src/libs/engine/MidiControlNode.cpp8
-rw-r--r--src/libs/engine/MidiControlNode.h4
-rw-r--r--src/libs/engine/MidiDriver.h4
-rw-r--r--src/libs/engine/MidiMessage.h4
-rw-r--r--src/libs/engine/MidiNoteNode.cpp8
-rw-r--r--src/libs/engine/MidiNoteNode.h4
-rw-r--r--src/libs/engine/MidiTriggerNode.cpp8
-rw-r--r--src/libs/engine/MidiTriggerNode.h4
-rw-r--r--src/libs/engine/Node.h6
-rw-r--r--src/libs/engine/NodeBase.cpp4
-rw-r--r--src/libs/engine/NodeBase.h4
-rw-r--r--src/libs/engine/NodeFactory.cpp10
-rw-r--r--src/libs/engine/NodeFactory.h4
-rw-r--r--src/libs/engine/OSCClient.cpp8
-rw-r--r--src/libs/engine/OSCClient.h4
-rw-r--r--src/libs/engine/OSCReceiver.cpp6
-rw-r--r--src/libs/engine/OSCReceiver.h4
-rw-r--r--src/libs/engine/OSCResponder.cpp2
-rw-r--r--src/libs/engine/OSCResponder.h4
-rw-r--r--src/libs/engine/ObjectSender.cpp4
-rw-r--r--src/libs/engine/ObjectSender.h4
-rw-r--r--src/libs/engine/ObjectStore.cpp4
-rw-r--r--src/libs/engine/ObjectStore.h4
-rw-r--r--src/libs/engine/Om.cpp33
-rw-r--r--src/libs/engine/OmInProcess.cpp15
-rw-r--r--src/libs/engine/OutputPort.h4
-rw-r--r--src/libs/engine/Patch.cpp8
-rw-r--r--src/libs/engine/Patch.h4
-rw-r--r--src/libs/engine/Plugin.h6
-rw-r--r--src/libs/engine/PluginLibrary.h4
-rw-r--r--src/libs/engine/Port.cpp4
-rw-r--r--src/libs/engine/Port.h4
-rw-r--r--src/libs/engine/PostProcessor.cpp4
-rw-r--r--src/libs/engine/PostProcessor.h4
-rw-r--r--src/libs/engine/QueuedEngineInterface.cpp4
-rw-r--r--src/libs/engine/QueuedEngineInterface.h6
-rw-r--r--src/libs/engine/QueuedEvent.h4
-rw-r--r--src/libs/engine/QueuedEventSource.cpp4
-rw-r--r--src/libs/engine/QueuedEventSource.h4
-rw-r--r--src/libs/engine/Responder.h4
-rw-r--r--src/libs/engine/Slave.h4
-rw-r--r--src/libs/engine/Thread.cpp4
-rw-r--r--src/libs/engine/Thread.h4
-rw-r--r--src/libs/engine/TransportNode.cpp8
-rw-r--r--src/libs/engine/TransportNode.h4
-rw-r--r--src/libs/engine/TypedConnection.cpp4
-rw-r--r--src/libs/engine/TypedConnection.h4
-rw-r--r--src/libs/engine/TypedPort.cpp4
-rw-r--r--src/libs/engine/TypedPort.h4
-rw-r--r--src/libs/engine/events/ActivateEvent.cpp4
-rw-r--r--src/libs/engine/events/ActivateEvent.h4
-rw-r--r--src/libs/engine/events/AddNodeEvent.cpp4
-rw-r--r--src/libs/engine/events/AddNodeEvent.h4
-rw-r--r--src/libs/engine/events/AddPortEvent.cpp4
-rw-r--r--src/libs/engine/events/AddPortEvent.h4
-rw-r--r--src/libs/engine/events/AllNotesOffEvent.cpp4
-rw-r--r--src/libs/engine/events/AllNotesOffEvent.h4
-rw-r--r--src/libs/engine/events/ClearPatchEvent.cpp4
-rw-r--r--src/libs/engine/events/ClearPatchEvent.h4
-rw-r--r--src/libs/engine/events/ConnectionEvent.cpp4
-rw-r--r--src/libs/engine/events/ConnectionEvent.h4
-rw-r--r--src/libs/engine/events/CreatePatchEvent.cpp4
-rw-r--r--src/libs/engine/events/CreatePatchEvent.h4
-rw-r--r--src/libs/engine/events/DSSIConfigureEvent.cpp4
-rw-r--r--src/libs/engine/events/DSSIConfigureEvent.h4
-rw-r--r--src/libs/engine/events/DSSIControlEvent.cpp4
-rw-r--r--src/libs/engine/events/DSSIControlEvent.h4
-rw-r--r--src/libs/engine/events/DSSIProgramEvent.cpp4
-rw-r--r--src/libs/engine/events/DSSIProgramEvent.h4
-rw-r--r--src/libs/engine/events/DSSIUpdateEvent.cpp4
-rw-r--r--src/libs/engine/events/DSSIUpdateEvent.h4
-rw-r--r--src/libs/engine/events/DeactivateEvent.cpp4
-rw-r--r--src/libs/engine/events/DeactivateEvent.h4
-rw-r--r--src/libs/engine/events/DestroyEvent.cpp4
-rw-r--r--src/libs/engine/events/DestroyEvent.h4
-rw-r--r--src/libs/engine/events/DisablePatchEvent.cpp4
-rw-r--r--src/libs/engine/events/DisablePatchEvent.h4
-rw-r--r--src/libs/engine/events/DisconnectNodeEvent.cpp4
-rw-r--r--src/libs/engine/events/DisconnectNodeEvent.h4
-rw-r--r--src/libs/engine/events/DisconnectPortEvent.cpp4
-rw-r--r--src/libs/engine/events/DisconnectPortEvent.h4
-rw-r--r--src/libs/engine/events/DisconnectionEvent.cpp4
-rw-r--r--src/libs/engine/events/DisconnectionEvent.h4
-rw-r--r--src/libs/engine/events/EnablePatchEvent.cpp4
-rw-r--r--src/libs/engine/events/EnablePatchEvent.h4
-rw-r--r--src/libs/engine/events/LashRestoreDoneEvent.h4
-rw-r--r--src/libs/engine/events/LoadPluginsEvent.cpp4
-rw-r--r--src/libs/engine/events/LoadPluginsEvent.h4
-rw-r--r--src/libs/engine/events/MidiLearnEvent.cpp4
-rw-r--r--src/libs/engine/events/MidiLearnEvent.h4
-rw-r--r--src/libs/engine/events/NoteOffEvent.cpp4
-rw-r--r--src/libs/engine/events/NoteOffEvent.h4
-rw-r--r--src/libs/engine/events/NoteOnEvent.cpp4
-rw-r--r--src/libs/engine/events/NoteOnEvent.h4
-rw-r--r--src/libs/engine/events/PingQueuedEvent.h4
-rw-r--r--src/libs/engine/events/RegisterClientEvent.cpp4
-rw-r--r--src/libs/engine/events/RegisterClientEvent.h8
-rw-r--r--src/libs/engine/events/RenameEvent.cpp4
-rw-r--r--src/libs/engine/events/RenameEvent.h4
-rw-r--r--src/libs/engine/events/RequestAllObjectsEvent.cpp4
-rw-r--r--src/libs/engine/events/RequestAllObjectsEvent.h4
-rw-r--r--src/libs/engine/events/RequestMetadataEvent.cpp4
-rw-r--r--src/libs/engine/events/RequestMetadataEvent.h4
-rw-r--r--src/libs/engine/events/RequestPluginsEvent.cpp4
-rw-r--r--src/libs/engine/events/RequestPluginsEvent.h4
-rw-r--r--src/libs/engine/events/RequestPortValueEvent.cpp4
-rw-r--r--src/libs/engine/events/RequestPortValueEvent.h4
-rw-r--r--src/libs/engine/events/SetMetadataEvent.cpp4
-rw-r--r--src/libs/engine/events/SetMetadataEvent.h4
-rw-r--r--src/libs/engine/events/SetPortValueEvent.cpp4
-rw-r--r--src/libs/engine/events/SetPortValueEvent.h4
-rw-r--r--src/libs/engine/events/SetPortValueQueuedEvent.cpp4
-rw-r--r--src/libs/engine/events/SetPortValueQueuedEvent.h4
-rw-r--r--src/libs/engine/events/UnregisterClientEvent.cpp4
-rw-r--r--src/libs/engine/events/UnregisterClientEvent.h4
-rw-r--r--src/libs/engine/instantiations.cpp34
-rw-r--r--src/libs/engine/tuning.h4
-rw-r--r--src/libs/engine/types.h2
-rw-r--r--src/libs/engine/util.h4
154 files changed, 355 insertions, 392 deletions
diff --git a/src/libs/engine/AlsaMidiDriver.cpp b/src/libs/engine/AlsaMidiDriver.cpp
index a27470dd..76d11ddb 100644
--- a/src/libs/engine/AlsaMidiDriver.cpp
+++ b/src/libs/engine/AlsaMidiDriver.cpp
@@ -30,7 +30,7 @@
#endif
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
//// AlsaMidiPort ////
@@ -208,7 +208,7 @@ AlsaMidiDriver::AlsaMidiDriver()
snd_midi_event_reset_decode(m_event_coder);
}
- snd_seq_set_client_name(m_seq_handle, "Om");
+ snd_seq_set_client_name(m_seq_handle, "Ingen");
}
@@ -367,5 +367,5 @@ AlsaMidiDriver::process_midi_in(void* alsa_driver)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/AlsaMidiDriver.h b/src/libs/engine/AlsaMidiDriver.h
index 2ddbaecd..c1941c42 100644
--- a/src/libs/engine/AlsaMidiDriver.h
+++ b/src/libs/engine/AlsaMidiDriver.h
@@ -22,7 +22,7 @@
#include "util/Queue.h"
#include "MidiDriver.h"
-namespace Om {
+namespace Ingen {
class Node;
class SetPortValueEvent;
@@ -121,7 +121,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // ALSAMIDIDRIVER_H
diff --git a/src/libs/engine/AudioDriver.h b/src/libs/engine/AudioDriver.h
index a76fce8d..f46d4689 100644
--- a/src/libs/engine/AudioDriver.h
+++ b/src/libs/engine/AudioDriver.h
@@ -21,7 +21,7 @@
#include "types.h"
#include "List.h"
-namespace Om {
+namespace Ingen {
class Patch;
class AudioDriver;
@@ -45,6 +45,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // AUDIODRIVER_H
diff --git a/src/libs/engine/Buffer.cpp b/src/libs/engine/Buffer.cpp
index ff43664d..af655a19 100644
--- a/src/libs/engine/Buffer.cpp
+++ b/src/libs/engine/Buffer.cpp
@@ -24,7 +24,7 @@ using std::cerr; using std::endl;
/* TODO: Be sure these functions are vectorized by GCC when it's vectorizer
* stops sucking. Probably a good idea to inline them as well */
-namespace Om {
+namespace Ingen {
template <typename T>
@@ -313,4 +313,4 @@ template void DriverBuffer<Sample>::set_data(sample* data);
template void DriverBuffer<MidiMessage>::set_data(MidiMessage* data);
#endif
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Buffer.h b/src/libs/engine/Buffer.h
index 96407623..13c75bbc 100644
--- a/src/libs/engine/Buffer.h
+++ b/src/libs/engine/Buffer.h
@@ -21,7 +21,7 @@
#include <cassert>
#include "types.h"
-namespace Om {
+namespace Ingen {
template <typename T>
@@ -89,6 +89,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // BUFFER_H
diff --git a/src/libs/engine/ClientBroadcaster.cpp b/src/libs/engine/ClientBroadcaster.cpp
index f073fd19..b6caf962 100644
--- a/src/libs/engine/ClientBroadcaster.cpp
+++ b/src/libs/engine/ClientBroadcaster.cpp
@@ -33,9 +33,9 @@
#include "interface/ClientInterface.h"
#include "OSCClient.h"
using std::cout; using std::cerr; using std::endl;
-using Om::Shared::ClientInterface;
+using Ingen::Shared::ClientInterface;
-namespace Om {
+namespace Ingen {
/** Register a client to receive messages over the notification band.
@@ -327,4 +327,4 @@ ClientBroadcaster::send_node_creation_messages(const Node* const node)
}
*/
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/ClientBroadcaster.h b/src/libs/engine/ClientBroadcaster.h
index 3b7158e5..2c9890a6 100644
--- a/src/libs/engine/ClientBroadcaster.h
+++ b/src/libs/engine/ClientBroadcaster.h
@@ -29,7 +29,7 @@
using std::list; using std::string; using std::pair;
-namespace Om {
+namespace Ingen {
class Node;
class Port;
@@ -94,7 +94,7 @@ private:
-} // namespace Om
+} // namespace Ingen
#endif // CLIENTBROADCASTER_H
diff --git a/src/libs/engine/Connection.cpp b/src/libs/engine/Connection.cpp
index ac650753..a896913b 100644
--- a/src/libs/engine/Connection.cpp
+++ b/src/libs/engine/Connection.cpp
@@ -19,7 +19,7 @@
#include "Node.h"
#include "Port.h"
-namespace Om {
+namespace Ingen {
/** Constructor for a connection from a node's output port.
@@ -39,5 +39,5 @@ Connection::Connection(Port* const src_port, Port* const dst_port)
|| (src_port->parent_node()->poly() == 1 || dst_port->parent_node()->poly() == 1));
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Connection.h b/src/libs/engine/Connection.h
index 665031f9..e2422a33 100644
--- a/src/libs/engine/Connection.h
+++ b/src/libs/engine/Connection.h
@@ -21,7 +21,7 @@
#include "MaidObject.h"
#include "types.h"
-namespace Om {
+namespace Ingen {
class Port;
@@ -60,6 +60,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // CONNECTION_H
diff --git a/src/libs/engine/Controller.h b/src/libs/engine/Controller.h
index eb7bafb3..82b3d7fd 100644
--- a/src/libs/engine/Controller.h
+++ b/src/libs/engine/Controller.h
@@ -17,10 +17,10 @@
#ifndef CONTROLLER_H
#define CONTROLLER_H
-namespace Om {
+namespace Ingen {
-/** Public interface to Om engine shared library.
+/** Public interface to engine library.
*
* This is an interface to all the audio-processing related functionality
* only. OSC communication, LASH session management, etc, are not part of
@@ -76,7 +76,7 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // CONTROLLER_H
diff --git a/src/libs/engine/DSSINode.cpp b/src/libs/engine/DSSINode.cpp
index ba415446..9c866915 100644
--- a/src/libs/engine/DSSINode.cpp
+++ b/src/libs/engine/DSSINode.cpp
@@ -24,7 +24,7 @@
using namespace std;
-namespace Om {
+namespace Ingen {
DSSINode::DSSINode(const Plugin* plugin, const string& name, size_t poly, Patch* parent, DSSI_Descriptor* descriptor, SampleRate srate, size_t buffer_size)
@@ -334,4 +334,4 @@ DSSINode::send_creation_messages(ClientInterface* client) const
}
*/
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/DSSINode.h b/src/libs/engine/DSSINode.h
index 71bb053b..625d325c 100644
--- a/src/libs/engine/DSSINode.h
+++ b/src/libs/engine/DSSINode.h
@@ -22,7 +22,7 @@
#include <lo/lo.h>
#include "LADSPANode.h"
-namespace Om {
+namespace Ingen {
class MidiMessage;
template <typename T> class InputPort;
@@ -102,7 +102,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DSSINODE_H
diff --git a/src/libs/engine/DataType.h b/src/libs/engine/DataType.h
index fdaaa863..c658eccc 100644
--- a/src/libs/engine/DataType.h
+++ b/src/libs/engine/DataType.h
@@ -17,14 +17,14 @@
#ifndef DATATYPE_H
#define DATATYPE_H
-namespace Om
+namespace Ingen
{
/** A data type that can be stored in a Port.
*
* Eventually the goal is to be able to just have to create a new one of these
- * to have Om support a new data type.
+ * to support a new data type.
*/
class DataType {
public:
@@ -65,6 +65,6 @@ private:
-} // namespace Om
+} // namespace Ingen
#endif // DATATYPE_H
diff --git a/src/libs/engine/Driver.h b/src/libs/engine/Driver.h
index 5f452781..2fd17150 100644
--- a/src/libs/engine/Driver.h
+++ b/src/libs/engine/Driver.h
@@ -20,12 +20,12 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
template <typename T> class DuplexPort;
-/** Representation of a system (outside Om, ie hardware) audio port.
+/** Representation of a "system" (eg outside Ingen) port.
*
* This is the class through which the rest of the engine manages everything
* related to driver ports. Derived classes are expected to have a pointer to
@@ -107,6 +107,6 @@ public:
#endif
-} // namespace Om
+} // namespace Ingen
#endif // DRIVER_H
diff --git a/src/libs/engine/DuplexPort.cpp b/src/libs/engine/DuplexPort.cpp
index 55316f1c..cda18cc9 100644
--- a/src/libs/engine/DuplexPort.cpp
+++ b/src/libs/engine/DuplexPort.cpp
@@ -26,7 +26,7 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
template <typename T>
@@ -42,5 +42,5 @@ template DuplexPort<Sample>::DuplexPort(Node* parent, const string& name, size_t
template DuplexPort<MidiMessage>::DuplexPort(Node* parent, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size, bool is_output);
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/DuplexPort.h b/src/libs/engine/DuplexPort.h
index c1f8e16e..c7f09811 100644
--- a/src/libs/engine/DuplexPort.h
+++ b/src/libs/engine/DuplexPort.h
@@ -25,7 +25,7 @@
#include "OutputPort.h"
using std::string;
-namespace Om {
+namespace Ingen {
class MidiMessage;
class Node;
@@ -63,6 +63,6 @@ protected:
template class DuplexPort<Sample>;
template class DuplexPort<MidiMessage>;
-} // namespace Om
+} // namespace Ingen
#endif // DUPLEXPORT_H
diff --git a/src/libs/engine/Event.h b/src/libs/engine/Event.h
index f726339d..6532655c 100644
--- a/src/libs/engine/Event.h
+++ b/src/libs/engine/Event.h
@@ -23,7 +23,7 @@
#include "MaidObject.h"
#include "Responder.h"
-namespace Om {
+namespace Ingen {
@@ -69,6 +69,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // EVENT_H
diff --git a/src/libs/engine/EventSource.h b/src/libs/engine/EventSource.h
index 28b07d18..212249c6 100644
--- a/src/libs/engine/EventSource.h
+++ b/src/libs/engine/EventSource.h
@@ -17,7 +17,7 @@
#ifndef EVENTSOURCE_H
#define EVENTSOURCE_H
-namespace Om {
+namespace Ingen {
class Event;
class QueuedEvent;
@@ -50,7 +50,7 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // EVENTSOURCE_H
diff --git a/src/libs/engine/GraphObject.h b/src/libs/engine/GraphObject.h
index 409be3ea..1c4fae49 100644
--- a/src/libs/engine/GraphObject.h
+++ b/src/libs/engine/GraphObject.h
@@ -26,7 +26,7 @@
#include "types.h"
using std::string; using std::map;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -107,6 +107,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OMOBJECT_H
diff --git a/src/libs/engine/Ingen.cpp b/src/libs/engine/Ingen.cpp
index 37e8f893..695a0be5 100644
--- a/src/libs/engine/Ingen.cpp
+++ b/src/libs/engine/Ingen.cpp
@@ -46,7 +46,7 @@
#endif
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
Ingen* Ingen::m_instance = NULL;
@@ -142,7 +142,7 @@ Ingen::main()
deactivate();
sleep(1);
- cout << "[Main] Om exiting..." << endl;
+ cout << "[Main] Exiting..." << endl;
return 0;
}
@@ -205,4 +205,4 @@ Ingen::deactivate()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Ingen.h b/src/libs/engine/Ingen.h
index 0b1ecccf..b0e1f947 100644
--- a/src/libs/engine/Ingen.h
+++ b/src/libs/engine/Ingen.h
@@ -22,7 +22,7 @@
template<typename T> class Queue;
class Maid;
-namespace Om {
+namespace Ingen {
class AudioDriver;
class MidiDriver;
@@ -39,7 +39,7 @@ class LashDriver;
template <typename T> class Driver;
-/** The main class for Om, the whole app lives in here
+/** The main class for Ingen, the whole engine basically lives in here
*
* A singleton, but shouldn't be (FIXME). Explicitly instantiated singleton
* to be exact - call instantiate before instance or suffer horrible death.
@@ -102,6 +102,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OMAPP_H
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp
index fefc39f7..29270bd1 100644
--- a/src/libs/engine/InputPort.cpp
+++ b/src/libs/engine/InputPort.cpp
@@ -26,7 +26,7 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
template <typename T>
@@ -349,5 +349,5 @@ InputPort<MidiMessage>::process(SampleCount nframes)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/InputPort.h b/src/libs/engine/InputPort.h
index e6ac55cb..39632cee 100644
--- a/src/libs/engine/InputPort.h
+++ b/src/libs/engine/InputPort.h
@@ -25,7 +25,7 @@
#include "MidiMessage.h"
using std::string;
-namespace Om {
+namespace Ingen {
template <typename T> class TypedConnection;
template <typename T> class OutputPort;
@@ -84,6 +84,6 @@ private:
template class InputPort<Sample>;
template class InputPort<MidiMessage>;
-} // namespace Om
+} // namespace Ingen
#endif // INPUTPORT_H
diff --git a/src/libs/engine/InternalNode.h b/src/libs/engine/InternalNode.h
index 995799e6..98bd473f 100644
--- a/src/libs/engine/InternalNode.h
+++ b/src/libs/engine/InternalNode.h
@@ -21,7 +21,7 @@
#include "NodeBase.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
class Patch;
@@ -37,7 +37,7 @@ public:
: NodeBase(plugin, path, poly, parent, srate, buffer_size),
_is_added(false)
{
- _plugin.lib_path("/Om");
+ _plugin.lib_path("/Ingen");
}
virtual ~InternalNode() {}
@@ -64,6 +64,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // INTERNALNODE_H
diff --git a/src/libs/engine/JackAudioDriver.cpp b/src/libs/engine/JackAudioDriver.cpp
index 2df1f026..aba00f7c 100644
--- a/src/libs/engine/JackAudioDriver.cpp
+++ b/src/libs/engine/JackAudioDriver.cpp
@@ -40,7 +40,7 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
//// JackAudioPort ////
@@ -126,7 +126,7 @@ JackAudioDriver::JackAudioDriver()
m_local_client(true),
m_root_patch(NULL)
{
- m_client = jack_client_new("Om");
+ m_client = jack_client_new("Ingen");
if (m_client == NULL) {
cerr << "[JackAudioDriver] Unable to connect to Jack. Exiting." << endl;
exit(EXIT_FAILURE);
@@ -182,7 +182,7 @@ JackAudioDriver::activate()
} else {
cout << "[JackAudioDriver] Activated Jack client." << endl;
#ifdef HAVE_LASH
- Ingen::instance().lash_driver()->set_jack_client_name("Om"); // FIXME: unique name
+ Ingen::instance().lash_driver()->set_jack_client_name(jack_client_get_name(m_client));
#endif
}
}
@@ -355,7 +355,7 @@ int
JackAudioDriver::m_sample_rate_cb(jack_nframes_t nframes)
{
if (m_is_activated) {
- cerr << "[JackAudioDriver] Om does not support changing sample rate on the fly (yet). Aborting." << endl;
+ cerr << "[JackAudioDriver] On-the-fly sample rate changing not supported (yet). Aborting." << endl;
exit(EXIT_FAILURE);
} else {
m_sample_rate = nframes;
@@ -368,7 +368,7 @@ int
JackAudioDriver::m_buffer_size_cb(jack_nframes_t nframes)
{
if (m_is_activated) {
- cerr << "[JackAudioDriver] Om does not support chanding buffer size on the fly (yet). Aborting." << endl;
+ cerr << "[JackAudioDriver] On-the-fly buffer size changing not supported (yet). Aborting." << endl;
exit(EXIT_FAILURE);
} else {
m_buffer_size = nframes;
@@ -377,5 +377,5 @@ JackAudioDriver::m_buffer_size_cb(jack_nframes_t nframes)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/JackAudioDriver.h b/src/libs/engine/JackAudioDriver.h
index cfbcc4c5..73b80a78 100644
--- a/src/libs/engine/JackAudioDriver.h
+++ b/src/libs/engine/JackAudioDriver.h
@@ -23,7 +23,7 @@
#include "AudioDriver.h"
#include "Buffer.h"
-namespace Om {
+namespace Ingen {
class Patch;
class Port;
@@ -166,6 +166,6 @@ inline int JackAudioDriver::sample_rate_cb(jack_nframes_t nframes, void* jack_dr
}
-} // namespace Om
+} // namespace Ingen
#endif // JACKAUDIODRIVER_H
diff --git a/src/libs/engine/JackMidiDriver.cpp b/src/libs/engine/JackMidiDriver.cpp
index 91869ca6..c2a5ca4a 100644
--- a/src/libs/engine/JackMidiDriver.cpp
+++ b/src/libs/engine/JackMidiDriver.cpp
@@ -29,7 +29,7 @@
#endif
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
//// JackMidiPort ////
@@ -208,5 +208,5 @@ JackMidiDriver::remove_port(JackMidiPort* port)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/JackMidiDriver.h b/src/libs/engine/JackMidiDriver.h
index 2e155d60..cf651291 100644
--- a/src/libs/engine/JackMidiDriver.h
+++ b/src/libs/engine/JackMidiDriver.h
@@ -24,7 +24,7 @@
#include "util/Queue.h"
#include "MidiDriver.h"
-namespace Om {
+namespace Ingen {
class Node;
class SetPortValueEvent;
@@ -117,7 +117,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // JACKMIDIDRIVER_H
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp
index 356fe07d..ee38cff0 100644
--- a/src/libs/engine/LADSPANode.cpp
+++ b/src/libs/engine/LADSPANode.cpp
@@ -25,7 +25,7 @@
#include "OutputPort.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
/** Partially construct a LADSPANode.
@@ -335,5 +335,5 @@ LADSPANode::default_port_value(ulong port_index)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/LADSPANode.h b/src/libs/engine/LADSPANode.h
index 1c98eb44..677145fe 100644
--- a/src/libs/engine/LADSPANode.h
+++ b/src/libs/engine/LADSPANode.h
@@ -23,7 +23,7 @@
#include "NodeBase.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
/** An instance of a LADSPA plugin.
@@ -61,6 +61,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // LADSPANODE_H
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp
index 59127915..d56778c1 100644
--- a/src/libs/engine/LV2Node.cpp
+++ b/src/libs/engine/LV2Node.cpp
@@ -24,7 +24,7 @@
#include "OutputPort.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
/** Partially construct a LV2Node.
@@ -260,5 +260,5 @@ LV2Node::get_port_vals(ulong port_index, PortInfo* info)
#endif
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/LV2Node.h b/src/libs/engine/LV2Node.h
index 54739fa2..1c2c8416 100644
--- a/src/libs/engine/LV2Node.h
+++ b/src/libs/engine/LV2Node.h
@@ -23,7 +23,7 @@
#include "NodeBase.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
/** An instance of a LV2 plugin.
@@ -63,7 +63,7 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // LV2NODE_H
diff --git a/src/libs/engine/LashDriver.cpp b/src/libs/engine/LashDriver.cpp
index 0a014eb0..79b839bc 100644
--- a/src/libs/engine/LashDriver.cpp
+++ b/src/libs/engine/LashDriver.cpp
@@ -23,7 +23,7 @@
using std::cerr; using std::cout; using std::endl;
using std::string;
-namespace Om {
+namespace Ingen {
LashDriver::LashDriver(Ingen* app, lash_args_t* args)
@@ -38,7 +38,7 @@ LashDriver::LashDriver(Ingen* app, lash_args_t* args)
} else {
cout << "[LashDriver] Lash initialised" << endl;
lash_event_t* event = lash_event_new_with_type(LASH_Client_Name);
- lash_event_set_string(event, "Om");
+ lash_event_set_string(event, "Ingen");
lash_send_event(m_client, event);
}
}
@@ -155,4 +155,4 @@ LashDriver::handle_config(lash_config_t* conf)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/LashDriver.h b/src/libs/engine/LashDriver.h
index 1a36b59b..568e4709 100644
--- a/src/libs/engine/LashDriver.h
+++ b/src/libs/engine/LashDriver.h
@@ -22,7 +22,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Ingen;
@@ -52,6 +52,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // LASHDRIVER_H
diff --git a/src/libs/engine/Makefile.am b/src/libs/engine/Makefile.am
index 82e09ce7..fbd11a16 100644
--- a/src/libs/engine/Makefile.am
+++ b/src/libs/engine/Makefile.am
@@ -19,7 +19,6 @@ libingen_la_SOURCES = \
Patch.cpp \
NodeFactory.h \
NodeFactory.cpp \
- Om.cpp \
Ingen.h \
Ingen.cpp \
JackAudioDriver.h \
diff --git a/src/libs/engine/MidiControlNode.cpp b/src/libs/engine/MidiControlNode.cpp
index 688fd48f..4c6c3a5f 100644
--- a/src/libs/engine/MidiControlNode.cpp
+++ b/src/libs/engine/MidiControlNode.cpp
@@ -26,11 +26,11 @@
#include "midi.h"
-namespace Om {
+namespace Ingen {
MidiControlNode::MidiControlNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
-: InternalNode(new Plugin(Plugin::Internal, "Om:ControlNode"), path, 1, parent, srate, buffer_size),
+: InternalNode(new Plugin(Plugin::Internal, "Ingen:ControlNode"), path, 1, parent, srate, buffer_size),
_learning(false)
{
_ports = new Array<Port*>(7);
@@ -57,7 +57,7 @@ MidiControlNode::MidiControlNode(const string& path, size_t poly, Patch* parent,
_ports->at(6) = _control_port;
_plugin.plug_label("midi_control_in");
- _plugin.name("Om Control Node (MIDI)");
+ _plugin.name("Ingen Control Node (MIDI)");
}
@@ -119,5 +119,5 @@ MidiControlNode::control(uchar control_num, uchar val, SampleCount offset)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/MidiControlNode.h b/src/libs/engine/MidiControlNode.h
index 4048abde..952aa0c4 100644
--- a/src/libs/engine/MidiControlNode.h
+++ b/src/libs/engine/MidiControlNode.h
@@ -22,7 +22,7 @@
#include "InternalNode.h"
using std::string;
-namespace Om {
+namespace Ingen {
class MidiLearnResponseEvent;
class MidiMessage;
@@ -67,6 +67,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // MIDICONTROLNODE_H
diff --git a/src/libs/engine/MidiDriver.h b/src/libs/engine/MidiDriver.h
index aa3a73ee..79236a56 100644
--- a/src/libs/engine/MidiDriver.h
+++ b/src/libs/engine/MidiDriver.h
@@ -21,7 +21,7 @@
#include <iostream>
using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
class MidiMessage;
@@ -73,6 +73,6 @@ public:
-} // namespace Om
+} // namespace Ingen
#endif // MIDIDRIVER_H
diff --git a/src/libs/engine/MidiMessage.h b/src/libs/engine/MidiMessage.h
index fd415ef8..2249a970 100644
--- a/src/libs/engine/MidiMessage.h
+++ b/src/libs/engine/MidiMessage.h
@@ -17,7 +17,7 @@
#ifndef MIDIMESSAGE_H
#define MIDIMESSAGE_H
-namespace Om {
+namespace Ingen {
/** Midi Message (the type a MIDI port connects to).
@@ -45,7 +45,7 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // MIDIMESSAGE_H
diff --git a/src/libs/engine/MidiNoteNode.cpp b/src/libs/engine/MidiNoteNode.cpp
index e6916a72..a84ebfd7 100644
--- a/src/libs/engine/MidiNoteNode.cpp
+++ b/src/libs/engine/MidiNoteNode.cpp
@@ -30,11 +30,11 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
MidiNoteNode::MidiNoteNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
-: InternalNode(new Plugin(Plugin::Internal, "Om:NoteNode"), path, poly, parent, srate, buffer_size),
+: InternalNode(new Plugin(Plugin::Internal, "Ingen:NoteNode"), path, poly, parent, srate, buffer_size),
_voices(new Voice[poly]),
_sustain(false)
{
@@ -60,7 +60,7 @@ MidiNoteNode::MidiNoteNode(const string& path, size_t poly, Patch* parent, Sampl
_ports->at(4) = _trig_port;
_plugin.plug_label("note_in");
- _plugin.name("Om Note Node (MIDI, OSC)");
+ _plugin.name("Ingen Note Node (MIDI, OSC)");
}
@@ -296,5 +296,5 @@ MidiNoteNode::sustain_off(SampleCount offset)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/MidiNoteNode.h b/src/libs/engine/MidiNoteNode.h
index e7d3831a..1f727b98 100644
--- a/src/libs/engine/MidiNoteNode.h
+++ b/src/libs/engine/MidiNoteNode.h
@@ -23,7 +23,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class MidiMessage;
template <typename T> class InputPort;
@@ -82,6 +82,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // MIDINOTENODE_H
diff --git a/src/libs/engine/MidiTriggerNode.cpp b/src/libs/engine/MidiTriggerNode.cpp
index 98a30011..3b21129c 100644
--- a/src/libs/engine/MidiTriggerNode.cpp
+++ b/src/libs/engine/MidiTriggerNode.cpp
@@ -22,11 +22,11 @@
#include "util.h"
#include "midi.h"
-namespace Om {
+namespace Ingen {
MidiTriggerNode::MidiTriggerNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
-: InternalNode(new Plugin(Plugin::Internal, "Om:TriggerNode"), path, 1, parent, srate, buffer_size)
+: InternalNode(new Plugin(Plugin::Internal, "Ingen:TriggerNode"), path, 1, parent, srate, buffer_size)
{
_ports = new Array<Port*>(5);
@@ -50,7 +50,7 @@ MidiTriggerNode::MidiTriggerNode(const string& path, size_t poly, Patch* parent,
_ports->at(4) = _vel_port;
_plugin.plug_label("trigger_in");
- _plugin.name("Om Trigger Node (MIDI, OSC)");
+ _plugin.name("Ingen Trigger Node (MIDI, OSC)");
}
@@ -116,5 +116,5 @@ MidiTriggerNode::note_off(uchar note_num, SampleCount offset)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/MidiTriggerNode.h b/src/libs/engine/MidiTriggerNode.h
index 14b586de..bf11f0b8 100644
--- a/src/libs/engine/MidiTriggerNode.h
+++ b/src/libs/engine/MidiTriggerNode.h
@@ -23,7 +23,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class MidiMessage;
template <typename T> class InputPort;
@@ -59,6 +59,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // MIDITRIGGERNODE_H
diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h
index 4fe74bd2..6d1158b0 100644
--- a/src/libs/engine/Node.h
+++ b/src/libs/engine/Node.h
@@ -26,7 +26,7 @@ using std::string;
template <typename T> class List;
-namespace Om {
+namespace Ingen {
class Port;
template <typename T> class OutputPort;
@@ -44,7 +44,7 @@ namespace Shared {
*
* This is a pure abstract base class for any Node, it contains no
* implementation details/data whatsoever. This is the interface you need to
- * implement to add a new Node type to Om.
+ * implement to add a new Node type.
*
* \ingroup engine
*/
@@ -110,6 +110,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // NODE_H
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp
index f5c4e546..ce58fd8b 100644
--- a/src/libs/engine/NodeBase.cpp
+++ b/src/libs/engine/NodeBase.cpp
@@ -30,7 +30,7 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
NodeBase::NodeBase(const Plugin* plugin, const string& name, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
@@ -165,5 +165,5 @@ NodeBase::set_path(const Path& new_path)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/NodeBase.h b/src/libs/engine/NodeBase.h
index 859a3306..f0c04d80 100644
--- a/src/libs/engine/NodeBase.h
+++ b/src/libs/engine/NodeBase.h
@@ -22,7 +22,7 @@
#include "Node.h"
using std::string;
-namespace Om {
+namespace Ingen {
class Plugin;
class Patch;
@@ -101,6 +101,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // NODEBASE_H
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp
index 60d8f44a..68bf4c40 100644
--- a/src/libs/engine/NodeFactory.cpp
+++ b/src/libs/engine/NodeFactory.cpp
@@ -46,7 +46,7 @@ using std::string;
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
/* I am perfectly aware that the vast majority of this class is a
@@ -322,7 +322,7 @@ NodeFactory::load_lv2_plugin(const string& plug_uri,
size_t poly,
Patch* parent)
{
- // Find (Om) Plugin
+ // Find (internal) Plugin
Plugin* plugin = NULL;
list<Plugin*>::iterator i;
for (i = _plugins.begin(); i != _plugins.end(); ++i) {
@@ -333,8 +333,8 @@ NodeFactory::load_lv2_plugin(const string& plug_uri,
Node* n = NULL;
if (plugin) {
- n = new Om::LV2Node(plugin, node_name, poly, parent,
- Ingen::instance().audio_driver()->sample_rate(), Ingen::instance().audio_driver()->buffer_size());
+ n = new LV2Node(plugin, node_name, poly, parent,
+ Ingen::Ingen::instance().audio_driver()->sample_rate(), Ingen::Ingen::instance().audio_driver()->buffer_size());
bool success = ((LV2Node*)n)->instantiate();
if (!success) {
delete n;
@@ -691,4 +691,4 @@ NodeFactory::load_ladspa_plugin(const string& uri,
#endif // HAVE_LADSPA
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/NodeFactory.h b/src/libs/engine/NodeFactory.h
index a109fc8f..abb30553 100644
--- a/src/libs/engine/NodeFactory.h
+++ b/src/libs/engine/NodeFactory.h
@@ -26,7 +26,7 @@
using std::string; using std::list;
-namespace Om {
+namespace Ingen {
class Node;
class Patch;
@@ -87,6 +87,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // NODEFACTORY_H
diff --git a/src/libs/engine/OSCClient.cpp b/src/libs/engine/OSCClient.cpp
index a902f629..b1489288 100644
--- a/src/libs/engine/OSCClient.cpp
+++ b/src/libs/engine/OSCClient.cpp
@@ -32,13 +32,13 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
/*! \page client_osc_namespace Client OSC Namespace Documentation
*
- * <p>These are all the messages sent from the engine to the client. Om
- * communication takes place over two distinct bands: control band and
+ * <p>These are all the messages sent from the engine to the client.
+ * Communication takes place over two distinct bands: control band and
* notification band.</p>
* <p>The control band is where clients send commands, and receive a simple
* response, either OK or an error.</p>
@@ -497,4 +497,4 @@ OSCClient::program_remove(const string& node_path, uint32_t bank, uint32_t progr
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/OSCClient.h b/src/libs/engine/OSCClient.h
index 56a663bc..423bb32f 100644
--- a/src/libs/engine/OSCClient.h
+++ b/src/libs/engine/OSCClient.h
@@ -28,7 +28,7 @@
using std::list; using std::string;
using std::cerr;
-namespace Om {
+namespace Ingen {
/** Implements ClientInterface for OSC clients (sends OSC messages).
@@ -125,7 +125,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OSCCLIENT_H
diff --git a/src/libs/engine/OSCReceiver.cpp b/src/libs/engine/OSCReceiver.cpp
index 1f5ef4d0..3b2e0be6 100644
--- a/src/libs/engine/OSCReceiver.cpp
+++ b/src/libs/engine/OSCReceiver.cpp
@@ -31,7 +31,7 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
using Shared::ClientKey;
@@ -200,7 +200,7 @@ OSCReceiver::set_response_address_cb(const char* path, const char* types, lo_arg
//cerr << "SET RESPONSE\n";
- if (argc < 1 || types[0] != 'i') // Not a valid Om message
+ if (argc < 1 || types[0] != 'i') // Not a valid Ingen message
return 0; // Save liblo the trouble
//cerr << "** valid msg\n";
@@ -906,4 +906,4 @@ OSCReceiver::unknown_cb(const char* path, const char* types, lo_arg** argv, int
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/OSCReceiver.h b/src/libs/engine/OSCReceiver.h
index a7990f03..d217319a 100644
--- a/src/libs/engine/OSCReceiver.h
+++ b/src/libs/engine/OSCReceiver.h
@@ -24,7 +24,7 @@
#include "OSCResponder.h"
using std::string;
-namespace Om {
+namespace Ingen {
class JackDriver;
class NodeFactory;
@@ -124,6 +124,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OSCRECEIVER_H
diff --git a/src/libs/engine/OSCResponder.cpp b/src/libs/engine/OSCResponder.cpp
index 4d337aa5..76e48fe4 100644
--- a/src/libs/engine/OSCResponder.cpp
+++ b/src/libs/engine/OSCResponder.cpp
@@ -25,7 +25,7 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
/** Construct an OSCResponder from \a addr.
diff --git a/src/libs/engine/OSCResponder.h b/src/libs/engine/OSCResponder.h
index 41cbdbe1..57e61886 100644
--- a/src/libs/engine/OSCResponder.h
+++ b/src/libs/engine/OSCResponder.h
@@ -22,7 +22,7 @@
#include <lo/lo.h>
#include "Responder.h"
-namespace Om {
+namespace Ingen {
/** Responder for (liblo) OSC clients.
@@ -55,7 +55,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OSCRESPONDER_H
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp
index 38ddc55f..8650b5cf 100644
--- a/src/libs/engine/ObjectSender.cpp
+++ b/src/libs/engine/ObjectSender.cpp
@@ -25,7 +25,7 @@
#include "Connection.h"
#include "NodeFactory.h"
-namespace Om {
+namespace Ingen {
/** Send all currently existing objects to client.
*/
@@ -225,5 +225,5 @@ ObjectSender::send_plugins(ClientInterface* client)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/ObjectSender.h b/src/libs/engine/ObjectSender.h
index 0d2f1262..93cdf2b9 100644
--- a/src/libs/engine/ObjectSender.h
+++ b/src/libs/engine/ObjectSender.h
@@ -17,7 +17,7 @@
#ifndef OBJECTSENDER_H
#define OBJECTSENDER_H
-namespace Om {
+namespace Ingen {
namespace Shared {
class ClientInterface;
@@ -49,7 +49,7 @@ public:
static void send_plugins(ClientInterface* client);
};
-} // namespace Om
+} // namespace Ingen
#endif // OBJECTSENDER_H
diff --git a/src/libs/engine/ObjectStore.cpp b/src/libs/engine/ObjectStore.cpp
index d56b3e7b..517f805e 100644
--- a/src/libs/engine/ObjectStore.cpp
+++ b/src/libs/engine/ObjectStore.cpp
@@ -22,7 +22,7 @@
#include "util/Path.h"
#include "Tree.h"
-namespace Om {
+namespace Ingen {
/** Find the Patch at the given path.
@@ -104,4 +104,4 @@ ObjectStore::remove(const string& path)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/ObjectStore.h b/src/libs/engine/ObjectStore.h
index 44b71ccb..c899b0ff 100644
--- a/src/libs/engine/ObjectStore.h
+++ b/src/libs/engine/ObjectStore.h
@@ -23,7 +23,7 @@
#include "Tree.h"
using std::string;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -56,6 +56,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // OBJECTSTORE
diff --git a/src/libs/engine/Om.cpp b/src/libs/engine/Om.cpp
deleted file mode 100644
index 8b4ac0fb..00000000
--- a/src/libs/engine/Om.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This file is part of Ingen. Copyright (C) 2006 Dave Robillard.
- *
- * Ingen is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "config.h"
-#include "Ingen.h"
-#ifdef HAVE_LASH
-#include "LashDriver.h"
-#endif
-
-/** Om namespace.
- *
- * Everything internal to the Om engine lives in this namespace. Generally
- * none of this code is used by clients - as special (possibly temporary)
- * exceptions, some classes in src/common are used by clients but are part
- * of the Om namespace.
- */
-namespace Om
-{
- Ingen* om = 0;
-}
diff --git a/src/libs/engine/OmInProcess.cpp b/src/libs/engine/OmInProcess.cpp
index b5cee7f3..73d96946 100644
--- a/src/libs/engine/OmInProcess.cpp
+++ b/src/libs/engine/OmInProcess.cpp
@@ -36,13 +36,10 @@ extern "C"
void*
run_main(void* arg)
{
- Om::Ingen::instance().main();
-#ifdef HAVE_LASH
-
- delete Om::lash_driver;
-#endif
-
- delete Om::om;
+ Ingen::Ingen::instance().main();
+
+ // FIXME: cleanup
+
return 0;
}
@@ -53,7 +50,7 @@ pthread_t main_thread;
int
jack_initialize(jack_client_t* client, const char* load_init)
{
- if ((Om::om = new Om::Ingen(load_init, new Om::JackAudioDriver(client))) != NULL) {
+ if ((Ingen::om = new Ingen::Ingen(load_init, new Ingen::JackAudioDriver(client))) != NULL) {
pthread_create(&main_thread, NULL, run_main, NULL);
return 0; // Success
} else {
@@ -66,7 +63,7 @@ void
jack_finish(void* arg)
{
void* ret;
- Om::Ingen::instance().quit();
+ Ingen::Ingen::instance().quit();
pthread_join(main_thread, &ret);
}
diff --git a/src/libs/engine/OutputPort.h b/src/libs/engine/OutputPort.h
index f1e08a31..bd3ae999 100644
--- a/src/libs/engine/OutputPort.h
+++ b/src/libs/engine/OutputPort.h
@@ -22,7 +22,7 @@
#include "TypedPort.h"
#include "types.h"
-namespace Om {
+namespace Ingen {
template <typename T> class InputPort;
@@ -62,6 +62,6 @@ private:
template class OutputPort<Sample>;
-} // namespace Om
+} // namespace Ingen
#endif // OUTPUTPORT_H
diff --git a/src/libs/engine/Patch.cpp b/src/libs/engine/Patch.cpp
index 358bc778..56006a86 100644
--- a/src/libs/engine/Patch.cpp
+++ b/src/libs/engine/Patch.cpp
@@ -26,11 +26,11 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
Patch::Patch(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size, size_t internal_poly)
-: NodeBase(new Plugin(Plugin::Patch, "Om:Patch"), path, poly, parent, srate, buffer_size),
+: NodeBase(new Plugin(Plugin::Patch, "Ingen:Patch"), path, poly, parent, srate, buffer_size),
_internal_poly(internal_poly),
_process_order(NULL),
_process(false)
@@ -38,7 +38,7 @@ Patch::Patch(const string& path, size_t poly, Patch* parent, SampleRate srate, s
assert(internal_poly >= 1);
//_plugin->plug_label("om_patch");
- //_plugin->name("Om Patch");
+ //_plugin->name("Ingen Patch");
//std::cerr << "Creating patch " << _name << ", poly = " << poly
// << ", internal poly = " << internal_poly << std::endl;
@@ -367,4 +367,4 @@ Patch::set_path(const Path& new_path)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h
index 59993b68..4a37d2d0 100644
--- a/src/libs/engine/Patch.h
+++ b/src/libs/engine/Patch.h
@@ -28,7 +28,7 @@ using std::string;
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Connection;
class InternalNode;
@@ -130,6 +130,6 @@ Patch::build_process_order_recursive(Node* n, Array<Node*>* order) const
}
-} // namespace Om
+} // namespace Ingen
#endif // PATCH_H
diff --git a/src/libs/engine/Plugin.h b/src/libs/engine/Plugin.h
index c5046971..295e1bbf 100644
--- a/src/libs/engine/Plugin.h
+++ b/src/libs/engine/Plugin.h
@@ -30,7 +30,7 @@ using std::string;
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
class PluginLibrary;
@@ -52,7 +52,7 @@ public:
{}
// FIXME: remove
- Plugin() : m_type(Internal), m_lib_path("/Om"),
+ Plugin() : m_type(Internal), m_lib_path("/Ingen"),
m_id(0), m_library(NULL)
{
#ifdef HAVE_SLV2
@@ -135,7 +135,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // PLUGIN_H
diff --git a/src/libs/engine/PluginLibrary.h b/src/libs/engine/PluginLibrary.h
index a9275a10..0cf44846 100644
--- a/src/libs/engine/PluginLibrary.h
+++ b/src/libs/engine/PluginLibrary.h
@@ -25,7 +25,7 @@ using std::string;
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
/** Representation of a shared library containing at least one Plugin.
@@ -94,7 +94,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // PLUGINLIBRARY_H
diff --git a/src/libs/engine/Port.cpp b/src/libs/engine/Port.cpp
index cccb6931..e5558303 100644
--- a/src/libs/engine/Port.cpp
+++ b/src/libs/engine/Port.cpp
@@ -18,7 +18,7 @@
#include "Node.h"
#include "DataType.h"
-namespace Om {
+namespace Ingen {
// Yeah, this shouldn't be here.
@@ -37,4 +37,4 @@ Port::Port(Node* const node, const string& name, size_t index, size_t poly, Data
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Port.h b/src/libs/engine/Port.h
index d742f5a9..918681e5 100644
--- a/src/libs/engine/Port.h
+++ b/src/libs/engine/Port.h
@@ -25,7 +25,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class Node;
@@ -78,6 +78,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // PORT_H
diff --git a/src/libs/engine/PostProcessor.cpp b/src/libs/engine/PostProcessor.cpp
index 80dc13cc..9ee0fa5c 100644
--- a/src/libs/engine/PostProcessor.cpp
+++ b/src/libs/engine/PostProcessor.cpp
@@ -26,7 +26,7 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
PostProcessor::PostProcessor(size_t queue_size)
@@ -51,4 +51,4 @@ PostProcessor::_whipped()
}
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/PostProcessor.h b/src/libs/engine/PostProcessor.h
index 444b8db7..2ae8f28b 100644
--- a/src/libs/engine/PostProcessor.h
+++ b/src/libs/engine/PostProcessor.h
@@ -23,7 +23,7 @@
#include "util/Semaphore.h"
#include "Slave.h"
-namespace Om {
+namespace Ingen {
class Event;
@@ -54,6 +54,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // POSTPROCESSOR_H
diff --git a/src/libs/engine/QueuedEngineInterface.cpp b/src/libs/engine/QueuedEngineInterface.cpp
index 4c1e815c..97f87076 100644
--- a/src/libs/engine/QueuedEngineInterface.cpp
+++ b/src/libs/engine/QueuedEngineInterface.cpp
@@ -21,7 +21,7 @@
#include "Ingen.h"
#include "AudioDriver.h"
-namespace Om {
+namespace Ingen {
QueuedEngineInterface::QueuedEngineInterface(size_t queued_size, size_t stamped_size)
: QueuedEventSource(queued_size, stamped_size)
@@ -299,6 +299,6 @@ QueuedEngineInterface::request_all_objects()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/QueuedEngineInterface.h b/src/libs/engine/QueuedEngineInterface.h
index ee4a18ad..cd5ef1b7 100644
--- a/src/libs/engine/QueuedEngineInterface.h
+++ b/src/libs/engine/QueuedEngineInterface.h
@@ -28,7 +28,7 @@
#include "Responder.h"
using std::string;
-namespace Om {
+namespace Ingen {
using Shared::ClientKey;
using Shared::ClientInterface;
@@ -55,7 +55,7 @@ using Shared::EngineInterface;
* events and get pushed directly into the realtime event queue. Should that
* be separated into a different interface/client?
*/
-class QueuedEngineInterface : public Om::QueuedEventSource, public EngineInterface
+class QueuedEngineInterface : public QueuedEventSource, public EngineInterface
{
public:
QueuedEngineInterface(size_t queued_size, size_t stamped_size);
@@ -155,7 +155,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // QUEUEDENGINEINTERFACE_H
diff --git a/src/libs/engine/QueuedEvent.h b/src/libs/engine/QueuedEvent.h
index 1e2603aa..d88a247c 100644
--- a/src/libs/engine/QueuedEvent.h
+++ b/src/libs/engine/QueuedEvent.h
@@ -19,7 +19,7 @@
#include "Event.h"
-namespace Om {
+namespace Ingen {
class Responder;
class QueuedEventSource;
@@ -86,6 +86,6 @@ protected:
};
-} // namespace Om
+} // namespace Ingen
#endif // QUEUEDEVENT_H
diff --git a/src/libs/engine/QueuedEventSource.cpp b/src/libs/engine/QueuedEventSource.cpp
index 638d9b42..33ac130a 100644
--- a/src/libs/engine/QueuedEventSource.cpp
+++ b/src/libs/engine/QueuedEventSource.cpp
@@ -21,7 +21,7 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
QueuedEventSource::QueuedEventSource(size_t queued_size, size_t stamped_size)
@@ -138,5 +138,5 @@ QueuedEventSource::_whipped()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/QueuedEventSource.h b/src/libs/engine/QueuedEventSource.h
index 23b8601c..5dcc9200 100644
--- a/src/libs/engine/QueuedEventSource.h
+++ b/src/libs/engine/QueuedEventSource.h
@@ -26,7 +26,7 @@
#include "Event.h"
#include "EventSource.h"
-namespace Om {
+namespace Ingen {
class QueuedEvent;
@@ -100,6 +100,6 @@ QueuedEventSource::pop_earliest_stamped_before(const SampleCount time)
}
-} // namespace Om
+} // namespace Ingen
#endif // QUEUEDEVENTSOURCE_H
diff --git a/src/libs/engine/Responder.h b/src/libs/engine/Responder.h
index 58a0ebfc..14c857bc 100644
--- a/src/libs/engine/Responder.h
+++ b/src/libs/engine/Responder.h
@@ -23,7 +23,7 @@
#include "interface/ClientInterface.h"
using std::string;
-namespace Om {
+namespace Ingen {
using Shared::ClientInterface;
@@ -57,7 +57,7 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // RESPONDER_H
diff --git a/src/libs/engine/Slave.h b/src/libs/engine/Slave.h
index 5f88528a..b48a3ab7 100644
--- a/src/libs/engine/Slave.h
+++ b/src/libs/engine/Slave.h
@@ -21,7 +21,7 @@
#include "util/Semaphore.h"
#include "Thread.h"
-namespace Om {
+namespace Ingen {
/** Thread driven by (realtime safe) signals.
@@ -56,6 +56,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // SLAVE_H
diff --git a/src/libs/engine/Thread.cpp b/src/libs/engine/Thread.cpp
index d797598e..45c27ec4 100644
--- a/src/libs/engine/Thread.cpp
+++ b/src/libs/engine/Thread.cpp
@@ -21,7 +21,7 @@
using std::cerr; using std::cout; using std::endl;
-namespace Om {
+namespace Ingen {
Thread::Thread()
@@ -100,5 +100,5 @@ Thread::_static_run(void* me)
return NULL;
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/Thread.h b/src/libs/engine/Thread.h
index 4655e02b..52423844 100644
--- a/src/libs/engine/Thread.h
+++ b/src/libs/engine/Thread.h
@@ -20,7 +20,7 @@
#include <string>
#include <pthread.h>
-namespace Om {
+namespace Ingen {
/* FIXME: This isn't Ingen specific at all. Move it to util. */
@@ -58,6 +58,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // THREAD_H
diff --git a/src/libs/engine/TransportNode.cpp b/src/libs/engine/TransportNode.cpp
index 40f531c9..4f6abed6 100644
--- a/src/libs/engine/TransportNode.cpp
+++ b/src/libs/engine/TransportNode.cpp
@@ -24,11 +24,11 @@
#include "util.h"
//#include "Ingen.h"
-namespace Om {
+namespace Ingen {
TransportNode::TransportNode(const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
-: InternalNode(new Plugin(Plugin::Internal, "Om:TransportNode"), path, 1, parent, srate, buffer_size)
+: InternalNode(new Plugin(Plugin::Internal, "Ingen:TransportNode"), path, 1, parent, srate, buffer_size)
{
#if 0
_num_ports = 10;
@@ -75,7 +75,7 @@ TransportNode::TransportNode(const string& path, size_t poly, Patch* parent, Sam
_ports.at(9) = bar_trig_port;
#endif
_plugin.plug_label("transport");
- _plugin.name("Om Transport Node (BROKEN)");
+ _plugin.name("Ingen Transport Node (BROKEN)");
}
@@ -149,5 +149,5 @@ TransportNode::run(size_t nframes)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/TransportNode.h b/src/libs/engine/TransportNode.h
index 2ad5cc40..b4547fdc 100644
--- a/src/libs/engine/TransportNode.h
+++ b/src/libs/engine/TransportNode.h
@@ -23,7 +23,7 @@
#include <jack/transport.h>
#include "InternalNode.h"
-namespace Om {
+namespace Ingen {
using std::string;
@@ -43,6 +43,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // TRANSPORTNODE_H
diff --git a/src/libs/engine/TypedConnection.cpp b/src/libs/engine/TypedConnection.cpp
index 8915bfce..e294185c 100644
--- a/src/libs/engine/TypedConnection.cpp
+++ b/src/libs/engine/TypedConnection.cpp
@@ -21,7 +21,7 @@
#include "Node.h"
#include "Port.h"
-namespace Om {
+namespace Ingen {
/** Constructor for a connection from a node's output port.
@@ -102,5 +102,5 @@ TypedConnection<MidiMessage>::process(SampleCount nframes)
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/TypedConnection.h b/src/libs/engine/TypedConnection.h
index 18f086f1..1289e158 100644
--- a/src/libs/engine/TypedConnection.h
+++ b/src/libs/engine/TypedConnection.h
@@ -21,7 +21,7 @@
#include "OutputPort.h"
#include "Connection.h"
-namespace Om {
+namespace Ingen {
class MidiMessage;
class Port;
@@ -100,6 +100,6 @@ TypedConnection<MidiMessage>::buffer(size_t voice) const
template class TypedConnection<Sample>;
template class TypedConnection<MidiMessage>;
-} // namespace Om
+} // namespace Ingen
#endif // TYPEDCONNECTION_H
diff --git a/src/libs/engine/TypedPort.cpp b/src/libs/engine/TypedPort.cpp
index 63c75b46..176c658c 100644
--- a/src/libs/engine/TypedPort.cpp
+++ b/src/libs/engine/TypedPort.cpp
@@ -24,7 +24,7 @@
#include "Node.h"
#include "MidiMessage.h"
-namespace Om {
+namespace Ingen {
/** Constructor for a Port.
@@ -120,5 +120,5 @@ template void TypedPort<Sample>::clear_buffers();
template void TypedPort<MidiMessage>::clear_buffers();
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/TypedPort.h b/src/libs/engine/TypedPort.h
index ef667d28..4958269b 100644
--- a/src/libs/engine/TypedPort.h
+++ b/src/libs/engine/TypedPort.h
@@ -25,7 +25,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class MidiMessage;
class Node;
@@ -74,6 +74,6 @@ protected:
template class TypedPort<Sample>;
template class TypedPort<MidiMessage>;
-} // namespace Om
+} // namespace Ingen
#endif // TYPEDPORT_H
diff --git a/src/libs/engine/events/ActivateEvent.cpp b/src/libs/engine/events/ActivateEvent.cpp
index 27875c59..7de723c3 100644
--- a/src/libs/engine/events/ActivateEvent.cpp
+++ b/src/libs/engine/events/ActivateEvent.cpp
@@ -18,7 +18,7 @@
#include "Responder.h"
#include "Ingen.h"
-namespace Om {
+namespace Ingen {
ActivateEvent::ActivateEvent(CountedPtr<Responder> responder, SampleCount timestamp)
@@ -43,5 +43,5 @@ ActivateEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/ActivateEvent.h b/src/libs/engine/events/ActivateEvent.h
index cb961eab..de47ddf3 100644
--- a/src/libs/engine/events/ActivateEvent.h
+++ b/src/libs/engine/events/ActivateEvent.h
@@ -19,7 +19,7 @@
#include "QueuedEvent.h"
-namespace Om {
+namespace Ingen {
/** Activates the engine.
@@ -36,6 +36,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // ACTIVATEEVENT_H
diff --git a/src/libs/engine/events/AddNodeEvent.cpp b/src/libs/engine/events/AddNodeEvent.cpp
index 1dc30263..7e5e70a4 100644
--- a/src/libs/engine/events/AddNodeEvent.cpp
+++ b/src/libs/engine/events/AddNodeEvent.cpp
@@ -30,7 +30,7 @@
#include "util/Path.h"
#include "Port.h"
-namespace Om {
+namespace Ingen {
AddNodeEvent::AddNodeEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, Plugin* plugin, bool poly)
@@ -123,5 +123,5 @@ AddNodeEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/AddNodeEvent.h b/src/libs/engine/events/AddNodeEvent.h
index 99f89fe0..c2ec043a 100644
--- a/src/libs/engine/events/AddNodeEvent.h
+++ b/src/libs/engine/events/AddNodeEvent.h
@@ -25,7 +25,7 @@ using std::string;
template <typename T> class Array;
template<typename T> class TreeNode;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -58,6 +58,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // ADDNODEEVENT_H
diff --git a/src/libs/engine/events/AddPortEvent.cpp b/src/libs/engine/events/AddPortEvent.cpp
index 01937259..9f6439e8 100644
--- a/src/libs/engine/events/AddPortEvent.cpp
+++ b/src/libs/engine/events/AddPortEvent.cpp
@@ -33,7 +33,7 @@
#include "Driver.h"
#include "DuplexPort.h"
-namespace Om {
+namespace Ingen {
AddPortEvent::AddPortEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, const string& type, bool is_output)
@@ -131,5 +131,5 @@ AddPortEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/AddPortEvent.h b/src/libs/engine/events/AddPortEvent.h
index e8599348..9643bd13 100644
--- a/src/libs/engine/events/AddPortEvent.h
+++ b/src/libs/engine/events/AddPortEvent.h
@@ -26,7 +26,7 @@ using std::string;
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Patch;
class Port;
@@ -60,6 +60,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // ADDPORTEVENT_H
diff --git a/src/libs/engine/events/AllNotesOffEvent.cpp b/src/libs/engine/events/AllNotesOffEvent.cpp
index 01d5b448..fceb47d6 100644
--- a/src/libs/engine/events/AllNotesOffEvent.cpp
+++ b/src/libs/engine/events/AllNotesOffEvent.cpp
@@ -19,7 +19,7 @@
#include "Ingen.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
/** Note off with patch explicitly passed - triggered by MIDI.
@@ -61,6 +61,6 @@ AllNotesOffEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/AllNotesOffEvent.h b/src/libs/engine/events/AllNotesOffEvent.h
index a994daae..56d52a25 100644
--- a/src/libs/engine/events/AllNotesOffEvent.h
+++ b/src/libs/engine/events/AllNotesOffEvent.h
@@ -21,7 +21,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Patch;
@@ -45,6 +45,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // ALLNOTESOFFEVENT_H
diff --git a/src/libs/engine/events/ClearPatchEvent.cpp b/src/libs/engine/events/ClearPatchEvent.cpp
index fc045633..c6e1d36c 100644
--- a/src/libs/engine/events/ClearPatchEvent.cpp
+++ b/src/libs/engine/events/ClearPatchEvent.cpp
@@ -27,7 +27,7 @@
#include "Connection.h"
#include "QueuedEventSource.h"
-namespace Om {
+namespace Ingen {
ClearPatchEvent::ClearPatchEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& patch_path)
@@ -109,5 +109,5 @@ ClearPatchEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/ClearPatchEvent.h b/src/libs/engine/events/ClearPatchEvent.h
index 1a2fe14b..bef90477 100644
--- a/src/libs/engine/events/ClearPatchEvent.h
+++ b/src/libs/engine/events/ClearPatchEvent.h
@@ -23,7 +23,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class Patch;
@@ -48,7 +48,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // CLEARPATCHEVENT_H
diff --git a/src/libs/engine/events/ConnectionEvent.cpp b/src/libs/engine/events/ConnectionEvent.cpp
index 15b79b46..27da617d 100644
--- a/src/libs/engine/events/ConnectionEvent.cpp
+++ b/src/libs/engine/events/ConnectionEvent.cpp
@@ -30,7 +30,7 @@
#include "util/Path.h"
using std::string;
-namespace Om {
+namespace Ingen {
//// ConnectionEvent ////
@@ -257,5 +257,5 @@ TypedConnectionEvent<T>::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/ConnectionEvent.h b/src/libs/engine/events/ConnectionEvent.h
index b617b158..d5a580a5 100644
--- a/src/libs/engine/events/ConnectionEvent.h
+++ b/src/libs/engine/events/ConnectionEvent.h
@@ -26,7 +26,7 @@ using std::string;
template <typename T> class ListNode;
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -101,6 +101,6 @@ private:
-} // namespace Om
+} // namespace Ingen
#endif // CONNECTIONEVENT_H
diff --git a/src/libs/engine/events/CreatePatchEvent.cpp b/src/libs/engine/events/CreatePatchEvent.cpp
index 65daf327..50e99c64 100644
--- a/src/libs/engine/events/CreatePatchEvent.cpp
+++ b/src/libs/engine/events/CreatePatchEvent.cpp
@@ -27,7 +27,7 @@
#include "util/Path.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
CreatePatchEvent::CreatePatchEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, int poly)
@@ -145,5 +145,5 @@ CreatePatchEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/CreatePatchEvent.h b/src/libs/engine/events/CreatePatchEvent.h
index cbaca4fb..581bb381 100644
--- a/src/libs/engine/events/CreatePatchEvent.h
+++ b/src/libs/engine/events/CreatePatchEvent.h
@@ -25,7 +25,7 @@ using std::string;
template<typename T> class Array;
template<typename T> class TreeNode;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -58,7 +58,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // CREATEPATCHEVENT_H
diff --git a/src/libs/engine/events/DSSIConfigureEvent.cpp b/src/libs/engine/events/DSSIConfigureEvent.cpp
index 290d177a..f8899304 100644
--- a/src/libs/engine/events/DSSIConfigureEvent.cpp
+++ b/src/libs/engine/events/DSSIConfigureEvent.cpp
@@ -21,7 +21,7 @@
#include "Plugin.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
DSSIConfigureEvent::DSSIConfigureEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, const string& key, const string& val)
@@ -68,5 +68,5 @@ DSSIConfigureEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DSSIConfigureEvent.h b/src/libs/engine/events/DSSIConfigureEvent.h
index 6d0a1000..80769929 100644
--- a/src/libs/engine/events/DSSIConfigureEvent.h
+++ b/src/libs/engine/events/DSSIConfigureEvent.h
@@ -20,7 +20,7 @@
#include "QueuedEvent.h"
#include "DSSINode.h"
-namespace Om {
+namespace Ingen {
/** Change of a 'configure' key/value pair for a DSSI plugin.
@@ -44,6 +44,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DSSICONFIGUREEVENT_H
diff --git a/src/libs/engine/events/DSSIControlEvent.cpp b/src/libs/engine/events/DSSIControlEvent.cpp
index 568ef573..565e37da 100644
--- a/src/libs/engine/events/DSSIControlEvent.cpp
+++ b/src/libs/engine/events/DSSIControlEvent.cpp
@@ -20,7 +20,7 @@
#include "Plugin.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
DSSIControlEvent::DSSIControlEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, int port_num, Sample val)
@@ -63,5 +63,5 @@ DSSIControlEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DSSIControlEvent.h b/src/libs/engine/events/DSSIControlEvent.h
index 52df88a8..e7c8605d 100644
--- a/src/libs/engine/events/DSSIControlEvent.h
+++ b/src/libs/engine/events/DSSIControlEvent.h
@@ -20,7 +20,7 @@
#include "QueuedEvent.h"
#include "DSSINode.h"
-namespace Om {
+namespace Ingen {
/** A control change event for a DSSI plugin.
@@ -46,6 +46,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DSSICONTROLEVENT_H
diff --git a/src/libs/engine/events/DSSIProgramEvent.cpp b/src/libs/engine/events/DSSIProgramEvent.cpp
index a9f82b33..a3ee39d1 100644
--- a/src/libs/engine/events/DSSIProgramEvent.cpp
+++ b/src/libs/engine/events/DSSIProgramEvent.cpp
@@ -25,7 +25,7 @@
using std::cout; using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
DSSIProgramEvent::DSSIProgramEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, int bank, int program)
@@ -72,5 +72,5 @@ DSSIProgramEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DSSIProgramEvent.h b/src/libs/engine/events/DSSIProgramEvent.h
index 6ac0dd5f..864110f4 100644
--- a/src/libs/engine/events/DSSIProgramEvent.h
+++ b/src/libs/engine/events/DSSIProgramEvent.h
@@ -20,7 +20,7 @@
#include "QueuedEvent.h"
#include "DSSINode.h"
-namespace Om {
+namespace Ingen {
/** A program change for a DSSI plugin.
@@ -44,6 +44,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DSSIPROGRAMEVENT_H
diff --git a/src/libs/engine/events/DSSIUpdateEvent.cpp b/src/libs/engine/events/DSSIUpdateEvent.cpp
index 9a0a6585..f5628b86 100644
--- a/src/libs/engine/events/DSSIUpdateEvent.cpp
+++ b/src/libs/engine/events/DSSIUpdateEvent.cpp
@@ -24,7 +24,7 @@
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
DSSIUpdateEvent::DSSIUpdateEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, const string& url)
@@ -75,5 +75,5 @@ DSSIUpdateEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DSSIUpdateEvent.h b/src/libs/engine/events/DSSIUpdateEvent.h
index 5182e3f0..bddbc21d 100644
--- a/src/libs/engine/events/DSSIUpdateEvent.h
+++ b/src/libs/engine/events/DSSIUpdateEvent.h
@@ -22,7 +22,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class DSSINode;
@@ -49,6 +49,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DSSIUPDATEEVENT_H
diff --git a/src/libs/engine/events/DeactivateEvent.cpp b/src/libs/engine/events/DeactivateEvent.cpp
index 803373f1..28648da3 100644
--- a/src/libs/engine/events/DeactivateEvent.cpp
+++ b/src/libs/engine/events/DeactivateEvent.cpp
@@ -18,7 +18,7 @@
#include "Responder.h"
#include "Ingen.h"
-namespace Om {
+namespace Ingen {
DeactivateEvent::DeactivateEvent(CountedPtr<Responder> responder, SampleCount timestamp)
@@ -49,5 +49,5 @@ DeactivateEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DeactivateEvent.h b/src/libs/engine/events/DeactivateEvent.h
index 27c2aa33..0fd79d32 100644
--- a/src/libs/engine/events/DeactivateEvent.h
+++ b/src/libs/engine/events/DeactivateEvent.h
@@ -19,7 +19,7 @@
#include "QueuedEvent.h"
-namespace Om {
+namespace Ingen {
/** Deactivates the engine.
@@ -37,6 +37,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // DEACTIVATEEVENT_H
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp
index 1725f608..d490bb6b 100644
--- a/src/libs/engine/events/DestroyEvent.cpp
+++ b/src/libs/engine/events/DestroyEvent.cpp
@@ -31,7 +31,7 @@
#include "QueuedEventSource.h"
#include "Port.h"
-namespace Om {
+namespace Ingen {
DestroyEvent::DestroyEvent(CountedPtr<Responder> responder, SampleCount timestamp, QueuedEventSource* source, const string& path, bool lock_mutex)
@@ -162,4 +162,4 @@ DestroyEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DestroyEvent.h b/src/libs/engine/events/DestroyEvent.h
index 4f94e6a0..de4686c1 100644
--- a/src/libs/engine/events/DestroyEvent.h
+++ b/src/libs/engine/events/DestroyEvent.h
@@ -27,7 +27,7 @@ template<typename T> class Array;
template<typename T> class ListNode;
template<typename T> class TreeNode;
-namespace Om {
+namespace Ingen {
class GraphObject;
class Patch;
@@ -63,6 +63,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DESTROYEVENT_H
diff --git a/src/libs/engine/events/DisablePatchEvent.cpp b/src/libs/engine/events/DisablePatchEvent.cpp
index 42f0ecdf..3129736f 100644
--- a/src/libs/engine/events/DisablePatchEvent.cpp
+++ b/src/libs/engine/events/DisablePatchEvent.cpp
@@ -23,7 +23,7 @@
#include "ObjectStore.h"
#include "Port.h"
-namespace Om {
+namespace Ingen {
DisablePatchEvent::DisablePatchEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& patch_path)
@@ -65,5 +65,5 @@ DisablePatchEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DisablePatchEvent.h b/src/libs/engine/events/DisablePatchEvent.h
index b6a21a23..10721825 100644
--- a/src/libs/engine/events/DisablePatchEvent.h
+++ b/src/libs/engine/events/DisablePatchEvent.h
@@ -22,7 +22,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class Patch;
@@ -46,7 +46,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DISABLEPATCHEVENT_H
diff --git a/src/libs/engine/events/DisconnectNodeEvent.cpp b/src/libs/engine/events/DisconnectNodeEvent.cpp
index 7b746fd1..e29e6956 100644
--- a/src/libs/engine/events/DisconnectNodeEvent.cpp
+++ b/src/libs/engine/events/DisconnectNodeEvent.cpp
@@ -35,7 +35,7 @@
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
DisconnectNodeEvent::DisconnectNodeEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path)
@@ -138,5 +138,5 @@ DisconnectNodeEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DisconnectNodeEvent.h b/src/libs/engine/events/DisconnectNodeEvent.h
index 7623bc40..d45fff39 100644
--- a/src/libs/engine/events/DisconnectNodeEvent.h
+++ b/src/libs/engine/events/DisconnectNodeEvent.h
@@ -23,7 +23,7 @@
#include "List.h"
using std::string;
-namespace Om {
+namespace Ingen {
class DisconnectionEvent;
class Patch;
@@ -62,7 +62,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DISCONNECTNODEEVENT_H
diff --git a/src/libs/engine/events/DisconnectPortEvent.cpp b/src/libs/engine/events/DisconnectPortEvent.cpp
index a3b93727..889e8506 100644
--- a/src/libs/engine/events/DisconnectPortEvent.cpp
+++ b/src/libs/engine/events/DisconnectPortEvent.cpp
@@ -35,7 +35,7 @@
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
DisconnectPortEvent::DisconnectPortEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& port_path)
@@ -141,5 +141,5 @@ DisconnectPortEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DisconnectPortEvent.h b/src/libs/engine/events/DisconnectPortEvent.h
index 0beee4b9..639de102 100644
--- a/src/libs/engine/events/DisconnectPortEvent.h
+++ b/src/libs/engine/events/DisconnectPortEvent.h
@@ -24,7 +24,7 @@
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Patch;
@@ -64,7 +64,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // DISCONNECTPORTEVENT_H
diff --git a/src/libs/engine/events/DisconnectionEvent.cpp b/src/libs/engine/events/DisconnectionEvent.cpp
index 29caf45c..4afdf2c4 100644
--- a/src/libs/engine/events/DisconnectionEvent.cpp
+++ b/src/libs/engine/events/DisconnectionEvent.cpp
@@ -29,7 +29,7 @@
#include "util/Path.h"
using std::string;
-namespace Om {
+namespace Ingen {
//// DisconnectionEvent ////
@@ -278,5 +278,5 @@ TypedDisconnectionEvent<T>::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/DisconnectionEvent.h b/src/libs/engine/events/DisconnectionEvent.h
index 3fe95fad..3108f2f8 100644
--- a/src/libs/engine/events/DisconnectionEvent.h
+++ b/src/libs/engine/events/DisconnectionEvent.h
@@ -26,7 +26,7 @@ using std::string;
template <typename T> class ListNode;
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -100,6 +100,6 @@ private:
-} // namespace Om
+} // namespace Ingen
#endif // DISCONNECTIONEVENT_H
diff --git a/src/libs/engine/events/EnablePatchEvent.cpp b/src/libs/engine/events/EnablePatchEvent.cpp
index 042acd12..e24c2fe1 100644
--- a/src/libs/engine/events/EnablePatchEvent.cpp
+++ b/src/libs/engine/events/EnablePatchEvent.cpp
@@ -22,7 +22,7 @@
#include "ClientBroadcaster.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
EnablePatchEvent::EnablePatchEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& patch_path)
@@ -77,5 +77,5 @@ EnablePatchEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/EnablePatchEvent.h b/src/libs/engine/events/EnablePatchEvent.h
index 1984f72c..4ae93099 100644
--- a/src/libs/engine/events/EnablePatchEvent.h
+++ b/src/libs/engine/events/EnablePatchEvent.h
@@ -24,7 +24,7 @@ using std::string;
template <typename T> class Array;
-namespace Om {
+namespace Ingen {
class Patch;
class Node;
@@ -50,7 +50,7 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // ENABLEPATCHEVENT_H
diff --git a/src/libs/engine/events/LashRestoreDoneEvent.h b/src/libs/engine/events/LashRestoreDoneEvent.h
index b090e01d..b543905c 100644
--- a/src/libs/engine/events/LashRestoreDoneEvent.h
+++ b/src/libs/engine/events/LashRestoreDoneEvent.h
@@ -24,7 +24,7 @@
#include <iostream>
using std::cerr;
-namespace Om {
+namespace Ingen {
class Port;
@@ -49,6 +49,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // LASHRESTOREDONEEVENT_H
diff --git a/src/libs/engine/events/LoadPluginsEvent.cpp b/src/libs/engine/events/LoadPluginsEvent.cpp
index 317171ba..65972c17 100644
--- a/src/libs/engine/events/LoadPluginsEvent.cpp
+++ b/src/libs/engine/events/LoadPluginsEvent.cpp
@@ -22,7 +22,7 @@
#include <iostream>
using std::cerr;
-namespace Om {
+namespace Ingen {
LoadPluginsEvent::LoadPluginsEvent(CountedPtr<Responder> responder, SampleCount timestamp)
@@ -40,5 +40,5 @@ LoadPluginsEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/LoadPluginsEvent.h b/src/libs/engine/events/LoadPluginsEvent.h
index 9600bdbc..0e40ca7e 100644
--- a/src/libs/engine/events/LoadPluginsEvent.h
+++ b/src/libs/engine/events/LoadPluginsEvent.h
@@ -19,7 +19,7 @@
#include "QueuedEvent.h"
-namespace Om {
+namespace Ingen {
/** Loads all plugins into the internal plugin database (in NodeFactory).
@@ -35,6 +35,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // LOADPLUGINSEVENT_H
diff --git a/src/libs/engine/events/MidiLearnEvent.cpp b/src/libs/engine/events/MidiLearnEvent.cpp
index be0597f1..5349ba92 100644
--- a/src/libs/engine/events/MidiLearnEvent.cpp
+++ b/src/libs/engine/events/MidiLearnEvent.cpp
@@ -22,7 +22,7 @@
#include "MidiControlNode.h"
#include "ClientBroadcaster.h"
-namespace Om {
+namespace Ingen {
// MidiLearnResponseEvent
@@ -82,6 +82,6 @@ MidiLearnEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/MidiLearnEvent.h b/src/libs/engine/events/MidiLearnEvent.h
index 26e8d3ec..558261a8 100644
--- a/src/libs/engine/events/MidiLearnEvent.h
+++ b/src/libs/engine/events/MidiLearnEvent.h
@@ -23,7 +23,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Node;
class ControlChangeEvent;
@@ -79,6 +79,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // MIDILEARNEVENT_H
diff --git a/src/libs/engine/events/NoteOffEvent.cpp b/src/libs/engine/events/NoteOffEvent.cpp
index 39b04f31..36078e7c 100644
--- a/src/libs/engine/events/NoteOffEvent.cpp
+++ b/src/libs/engine/events/NoteOffEvent.cpp
@@ -22,7 +22,7 @@
#include "MidiNoteNode.h"
#include "MidiTriggerNode.h"
-namespace Om {
+namespace Ingen {
/** Note off with patch explicitly passed - triggered by MIDI.
@@ -72,6 +72,6 @@ NoteOffEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/NoteOffEvent.h b/src/libs/engine/events/NoteOffEvent.h
index 8bf14dae..707077a1 100644
--- a/src/libs/engine/events/NoteOffEvent.h
+++ b/src/libs/engine/events/NoteOffEvent.h
@@ -22,7 +22,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Node;
@@ -47,6 +47,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // NOTEOFFEVENT_H
diff --git a/src/libs/engine/events/NoteOnEvent.cpp b/src/libs/engine/events/NoteOnEvent.cpp
index df28c478..90711619 100644
--- a/src/libs/engine/events/NoteOnEvent.cpp
+++ b/src/libs/engine/events/NoteOnEvent.cpp
@@ -23,7 +23,7 @@
#include "MidiTriggerNode.h"
#include "Plugin.h"
-namespace Om {
+namespace Ingen {
/** Note on with Patch explicitly passed.
@@ -84,5 +84,5 @@ NoteOnEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/NoteOnEvent.h b/src/libs/engine/events/NoteOnEvent.h
index b0a20b04..209e7137 100644
--- a/src/libs/engine/events/NoteOnEvent.h
+++ b/src/libs/engine/events/NoteOnEvent.h
@@ -22,7 +22,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Node;
@@ -49,6 +49,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // NOTEONEVENT_H
diff --git a/src/libs/engine/events/PingQueuedEvent.h b/src/libs/engine/events/PingQueuedEvent.h
index 92b965c4..10e3a3bb 100644
--- a/src/libs/engine/events/PingQueuedEvent.h
+++ b/src/libs/engine/events/PingQueuedEvent.h
@@ -21,7 +21,7 @@
#include "types.h"
#include "Responder.h"
-namespace Om {
+namespace Ingen {
class Port;
@@ -40,6 +40,6 @@ public:
};
-} // namespace Om
+} // namespace Ingen
#endif // PINGQUEUEDEVENT_H
diff --git a/src/libs/engine/events/RegisterClientEvent.cpp b/src/libs/engine/events/RegisterClientEvent.cpp
index 54c47ce6..bbec1ba9 100644
--- a/src/libs/engine/events/RegisterClientEvent.cpp
+++ b/src/libs/engine/events/RegisterClientEvent.cpp
@@ -19,7 +19,7 @@
#include "Ingen.h"
#include "ClientBroadcaster.h"
-namespace Om {
+namespace Ingen {
RegisterClientEvent::RegisterClientEvent(CountedPtr<Responder> responder,
@@ -49,5 +49,5 @@ RegisterClientEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RegisterClientEvent.h b/src/libs/engine/events/RegisterClientEvent.h
index 4e0dee7e..bc26c3bb 100644
--- a/src/libs/engine/events/RegisterClientEvent.h
+++ b/src/libs/engine/events/RegisterClientEvent.h
@@ -22,10 +22,10 @@
#include "interface/ClientInterface.h"
#include <string>
using std::string;
-using Om::Shared::ClientInterface;
-using Om::Shared::ClientKey;
+using Ingen::Shared::ClientInterface;
+using Ingen::Shared::ClientKey;
-namespace Om {
+namespace Ingen {
/** Registers a new client with the OSC system, so it can receive updates.
@@ -49,6 +49,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // REGISTERCLIENTEVENT_H
diff --git a/src/libs/engine/events/RenameEvent.cpp b/src/libs/engine/events/RenameEvent.cpp
index a383fc3b..0d77dfa4 100644
--- a/src/libs/engine/events/RenameEvent.cpp
+++ b/src/libs/engine/events/RenameEvent.cpp
@@ -24,7 +24,7 @@
#include "util/Path.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
RenameEvent::RenameEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, const string& name)
@@ -119,4 +119,4 @@ RenameEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RenameEvent.h b/src/libs/engine/events/RenameEvent.h
index bfd726d6..d13efea9 100644
--- a/src/libs/engine/events/RenameEvent.h
+++ b/src/libs/engine/events/RenameEvent.h
@@ -25,7 +25,7 @@ using std::string;
template<typename T> class TreeNode;
template<typename T> class ListNode;
-namespace Om {
+namespace Ingen {
class GraphObject;
class Patch;
@@ -61,6 +61,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // RENAMEEVENT_H
diff --git a/src/libs/engine/events/RequestAllObjectsEvent.cpp b/src/libs/engine/events/RequestAllObjectsEvent.cpp
index 0260dd65..62a665b7 100644
--- a/src/libs/engine/events/RequestAllObjectsEvent.cpp
+++ b/src/libs/engine/events/RequestAllObjectsEvent.cpp
@@ -19,7 +19,7 @@
#include "Ingen.h"
#include "ObjectSender.h"
-namespace Om {
+namespace Ingen {
RequestAllObjectsEvent::RequestAllObjectsEvent(CountedPtr<Responder> responder, SampleCount timestamp)
@@ -50,5 +50,5 @@ RequestAllObjectsEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RequestAllObjectsEvent.h b/src/libs/engine/events/RequestAllObjectsEvent.h
index a37b953f..760a06ea 100644
--- a/src/libs/engine/events/RequestAllObjectsEvent.h
+++ b/src/libs/engine/events/RequestAllObjectsEvent.h
@@ -21,7 +21,7 @@
#include "QueuedEvent.h"
using std::string;
-namespace Om {
+namespace Ingen {
namespace Shared {
class ClientInterface;
@@ -45,6 +45,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // REQUESTALLOBJECTSEVENT_H
diff --git a/src/libs/engine/events/RequestMetadataEvent.cpp b/src/libs/engine/events/RequestMetadataEvent.cpp
index 860d9f3f..2f41bc35 100644
--- a/src/libs/engine/events/RequestMetadataEvent.cpp
+++ b/src/libs/engine/events/RequestMetadataEvent.cpp
@@ -24,7 +24,7 @@
#include "ClientBroadcaster.h"
using std::string;
-namespace Om {
+namespace Ingen {
RequestMetadataEvent::RequestMetadataEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, const string& key)
@@ -75,5 +75,5 @@ RequestMetadataEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RequestMetadataEvent.h b/src/libs/engine/events/RequestMetadataEvent.h
index 1da4ffe6..0b1cc267 100644
--- a/src/libs/engine/events/RequestMetadataEvent.h
+++ b/src/libs/engine/events/RequestMetadataEvent.h
@@ -22,7 +22,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class GraphObject;
namespace Shared {
@@ -51,6 +51,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // REQUESTMETADATAEVENT_H
diff --git a/src/libs/engine/events/RequestPluginsEvent.cpp b/src/libs/engine/events/RequestPluginsEvent.cpp
index 286badb4..fff549b8 100644
--- a/src/libs/engine/events/RequestPluginsEvent.cpp
+++ b/src/libs/engine/events/RequestPluginsEvent.cpp
@@ -19,7 +19,7 @@
#include "Ingen.h"
#include "ClientBroadcaster.h"
-namespace Om {
+namespace Ingen {
RequestPluginsEvent::RequestPluginsEvent(CountedPtr<Responder> responder, SampleCount timestamp)
@@ -50,5 +50,5 @@ RequestPluginsEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RequestPluginsEvent.h b/src/libs/engine/events/RequestPluginsEvent.h
index 29bb0958..0a35a1ad 100644
--- a/src/libs/engine/events/RequestPluginsEvent.h
+++ b/src/libs/engine/events/RequestPluginsEvent.h
@@ -21,7 +21,7 @@
#include "QueuedEvent.h"
using std::string;
-namespace Om {
+namespace Ingen {
class Responder;
namespace Shared {
@@ -46,6 +46,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // REQUESTPLUGINSEVENT_H
diff --git a/src/libs/engine/events/RequestPortValueEvent.cpp b/src/libs/engine/events/RequestPortValueEvent.cpp
index 8cb401dc..e6384875 100644
--- a/src/libs/engine/events/RequestPortValueEvent.cpp
+++ b/src/libs/engine/events/RequestPortValueEvent.cpp
@@ -25,7 +25,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
RequestPortValueEvent::RequestPortValueEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& port_path)
@@ -75,5 +75,5 @@ RequestPortValueEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/RequestPortValueEvent.h b/src/libs/engine/events/RequestPortValueEvent.h
index eba37122..9b809b3d 100644
--- a/src/libs/engine/events/RequestPortValueEvent.h
+++ b/src/libs/engine/events/RequestPortValueEvent.h
@@ -23,7 +23,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class Port;
namespace Shared { class ClientInterface; }
@@ -51,6 +51,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // REQUESTPORTVALUEEVENT_H
diff --git a/src/libs/engine/events/SetMetadataEvent.cpp b/src/libs/engine/events/SetMetadataEvent.cpp
index a2a02318..9ce03bc9 100644
--- a/src/libs/engine/events/SetMetadataEvent.cpp
+++ b/src/libs/engine/events/SetMetadataEvent.cpp
@@ -24,7 +24,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
SetMetadataEvent::SetMetadataEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& path, const string& key, const string& value)
@@ -75,4 +75,4 @@ SetMetadataEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/SetMetadataEvent.h b/src/libs/engine/events/SetMetadataEvent.h
index 40ec5978..7ea534a1 100644
--- a/src/libs/engine/events/SetMetadataEvent.h
+++ b/src/libs/engine/events/SetMetadataEvent.h
@@ -22,7 +22,7 @@
using std::string;
-namespace Om {
+namespace Ingen {
class GraphObject;
@@ -48,6 +48,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // SETMETADATAEVENT_H
diff --git a/src/libs/engine/events/SetPortValueEvent.cpp b/src/libs/engine/events/SetPortValueEvent.cpp
index f29a89d1..58bb815b 100644
--- a/src/libs/engine/events/SetPortValueEvent.cpp
+++ b/src/libs/engine/events/SetPortValueEvent.cpp
@@ -22,7 +22,7 @@
#include "Node.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
/** Voice-specific control setting
@@ -98,5 +98,5 @@ SetPortValueEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/SetPortValueEvent.h b/src/libs/engine/events/SetPortValueEvent.h
index 4aca1aaf..ecd1557a 100644
--- a/src/libs/engine/events/SetPortValueEvent.h
+++ b/src/libs/engine/events/SetPortValueEvent.h
@@ -22,7 +22,7 @@
#include "types.h"
using std::string;
-namespace Om {
+namespace Ingen {
class Port;
@@ -51,6 +51,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // SETPORTVALUEEVENT_H
diff --git a/src/libs/engine/events/SetPortValueQueuedEvent.cpp b/src/libs/engine/events/SetPortValueQueuedEvent.cpp
index 71d796b1..bb17c44e 100644
--- a/src/libs/engine/events/SetPortValueQueuedEvent.cpp
+++ b/src/libs/engine/events/SetPortValueQueuedEvent.cpp
@@ -23,7 +23,7 @@
#include "Node.h"
#include "ObjectStore.h"
-namespace Om {
+namespace Ingen {
/** Voice-specific control setting
@@ -110,5 +110,5 @@ SetPortValueQueuedEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/SetPortValueQueuedEvent.h b/src/libs/engine/events/SetPortValueQueuedEvent.h
index 2dbca248..9e83e045 100644
--- a/src/libs/engine/events/SetPortValueQueuedEvent.h
+++ b/src/libs/engine/events/SetPortValueQueuedEvent.h
@@ -22,7 +22,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
class Port;
@@ -52,6 +52,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // SETPORTVALUEQUEUEDEVENT_H
diff --git a/src/libs/engine/events/UnregisterClientEvent.cpp b/src/libs/engine/events/UnregisterClientEvent.cpp
index 622b6c9a..0ec3c467 100644
--- a/src/libs/engine/events/UnregisterClientEvent.cpp
+++ b/src/libs/engine/events/UnregisterClientEvent.cpp
@@ -20,7 +20,7 @@
#include "ClientBroadcaster.h"
#include "interface/ClientInterface.h"
-namespace Om {
+namespace Ingen {
UnregisterClientEvent::UnregisterClientEvent(CountedPtr<Responder> responder, SampleCount timestamp, ClientKey key)
@@ -40,5 +40,5 @@ UnregisterClientEvent::post_process()
}
-} // namespace Om
+} // namespace Ingen
diff --git a/src/libs/engine/events/UnregisterClientEvent.h b/src/libs/engine/events/UnregisterClientEvent.h
index 634fe762..1523394e 100644
--- a/src/libs/engine/events/UnregisterClientEvent.h
+++ b/src/libs/engine/events/UnregisterClientEvent.h
@@ -22,7 +22,7 @@
#include <string>
using std::string;
-namespace Om {
+namespace Ingen {
namespace Shared {
class ClientInterface;
@@ -48,6 +48,6 @@ private:
};
-} // namespace Om
+} // namespace Ingen
#endif // UNREGISTERCLIENTEVENT_H
diff --git a/src/libs/engine/instantiations.cpp b/src/libs/engine/instantiations.cpp
index 714eb4f2..3d0d8ce4 100644
--- a/src/libs/engine/instantiations.cpp
+++ b/src/libs/engine/instantiations.cpp
@@ -29,21 +29,21 @@
/* Tree */
-template class Tree<Om::Node*>;
-template class TreeNode<Om::Node*>;
-
-template Tree<Om::GraphObject*>::Tree();
-template Tree<Om::GraphObject*>::~Tree();
-template void Tree<Om::GraphObject*>::insert(TreeNode<Om::GraphObject*>* const n);
-template TreeNode<Om::GraphObject*>* Tree<Om::GraphObject*>::remove(const string& key);
-template Om::GraphObject* Tree<Om::GraphObject*>::find(const string& key) const;
-template TreeNode<Om::GraphObject*>* Tree<Om::GraphObject*>::find_treenode(const string& key) const;
-
-template Tree<Om::GraphObject*>::iterator Tree<Om::GraphObject*>::begin() const;
-template Tree<Om::GraphObject*>::iterator Tree<Om::GraphObject*>::end() const;
-
-template Tree<Om::GraphObject*>::iterator::~iterator();
-template Om::GraphObject* Tree<Om::GraphObject*>::iterator::operator*() const;
-template Tree<Om::GraphObject*>::iterator& Tree<Om::GraphObject*>::iterator::operator++();
-template bool Tree<Om::GraphObject*>::iterator::operator!=(const iterator& iter) const;
+template class Tree<Ingen::Node*>;
+template class TreeNode<Ingen::Node*>;
+
+template Tree<Ingen::GraphObject*>::Tree();
+template Tree<Ingen::GraphObject*>::~Tree();
+template void Tree<Ingen::GraphObject*>::insert(TreeNode<Ingen::GraphObject*>* const n);
+template TreeNode<Ingen::GraphObject*>* Tree<Ingen::GraphObject*>::remove(const string& key);
+template Ingen::GraphObject* Tree<Ingen::GraphObject*>::find(const string& key) const;
+template TreeNode<Ingen::GraphObject*>* Tree<Ingen::GraphObject*>::find_treenode(const string& key) const;
+
+template Tree<Ingen::GraphObject*>::iterator Tree<Ingen::GraphObject*>::begin() const;
+template Tree<Ingen::GraphObject*>::iterator Tree<Ingen::GraphObject*>::end() const;
+
+template Tree<Ingen::GraphObject*>::iterator::~iterator();
+template Ingen::GraphObject* Tree<Ingen::GraphObject*>::iterator::operator*() const;
+template Tree<Ingen::GraphObject*>::iterator& Tree<Ingen::GraphObject*>::iterator::operator++();
+template bool Tree<Ingen::GraphObject*>::iterator::operator!=(const iterator& iter) const;
diff --git a/src/libs/engine/tuning.h b/src/libs/engine/tuning.h
index b2c1ef1c..61d43f9f 100644
--- a/src/libs/engine/tuning.h
+++ b/src/libs/engine/tuning.h
@@ -20,7 +20,7 @@
#include <stddef.h>
#include <time.h>
-namespace Om {
+namespace Ingen {
// FIXME: put this in a Config class
@@ -34,6 +34,6 @@ static const size_t maid_queue_size = 1024;
static const timespec main_rate = { 0, 500000000 }; // 1/2 second
-} // namespace Om
+} // namespace Ingen
#endif // TUNING_H
diff --git a/src/libs/engine/types.h b/src/libs/engine/types.h
index 125651bc..c623ac42 100644
--- a/src/libs/engine/types.h
+++ b/src/libs/engine/types.h
@@ -29,7 +29,7 @@ typedef jack_default_audio_sample_t Sample;
typedef jack_nframes_t SampleCount;
typedef jack_nframes_t SampleRate;
-/** A type that Om can patch (eg can be stored in a port) */
+/** A type that Ingen can process/patch (eg can be stored in a port) */
enum DataType { FLOAT, MIDI, UNKNOWN };
diff --git a/src/libs/engine/util.h b/src/libs/engine/util.h
index 0d905eb9..a31ba455 100644
--- a/src/libs/engine/util.h
+++ b/src/libs/engine/util.h
@@ -27,7 +27,7 @@
using std::cerr; using std::endl;
-namespace Om {
+namespace Ingen {
/** Set flags to disable denormal processing.
*/
@@ -68,6 +68,6 @@ set_denormal_flags()
fesetround(FE_TOWARDZERO);
}
-} // namespace Om
+} // namespace Ingen
#endif // UTIL_H