Skip to content

Commit

Permalink
Work done some months ago, uncommited
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Aug 31, 2018
1 parent ae2b61e commit 88f4a8f
Show file tree
Hide file tree
Showing 17 changed files with 1,062 additions and 153 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ EnsureSConsVersion(0,14);
env = Environment(CPPPATH=['#/globals','#gui','#.'])

env.ParseConfig("pkg-config gtkmm-3.0 --libs --cflags")
env.ParseConfig("pkg-config lilv-0 --libs --cflags")
env.ParseConfig("pkg-config suil-0 --libs --cflags")
env.Append(CXXFLAGS=["-g3"])

def add_sources(self, sources, filetype, lib_env = None, shared = False):
Expand Down Expand Up @@ -32,6 +34,7 @@ env.libs=[]

SConscript('globals/SCsub');
SConscript('engine/SCsub');
SConscript('drivers/SCsub');
SConscript('gui/SCsub');
SConscript('bin/SCsub');

17 changes: 13 additions & 4 deletions bin/sytrax.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
#include <gtkmm.h>

#include "drivers/audio_effect_factory_lv2.h"
#include "gui/interface.h"

int main(int argc, char *argv[]) {
auto app = Gtk::Application::create(argc, argv, "org.gtkmm.examples.base");

Interface window;
window.set_default_size(800, 600);
AudioEffectFactory effect_factory;

return app->run(window);
AudioEffectProviderLV2 provider_lv2(&argc, &argv); //lv2 madness
provider_lv2.scan_effects(&effect_factory);

effect_factory.add_provider(&provider_lv2);

auto app = Gtk::Application::create(argc, argv, "org.gtkmm.examples.base");

Interface window(&effect_factory);
window.set_default_size(800, 600);

return app->run(window);
}
8 changes: 8 additions & 0 deletions drivers/SCsub
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Import('env');
Export('env');

targets=[]

env.add_sources(targets,"*.cpp")

env.libs+=env.Library('drivers', targets);
Loading

0 comments on commit 88f4a8f

Please sign in to comment.