Skip to content

Commit

Permalink
correct build
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Jun 7, 2024
1 parent cc9cd82 commit b979eb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions libtascar/include/scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ namespace TASCAR {

private:
TASCAR::Acousticmodel::diffuse_t* source;
public:
plugin_processor_t plugins;
};

Expand Down Expand Up @@ -425,6 +426,7 @@ namespace TASCAR {
private:
uint32_t outputlayers;
TASCAR::Acousticmodel::diffuse_t* source;
public:
plugin_processor_t plugins;
};

Expand Down
2 changes: 1 addition & 1 deletion libtascar/src/acousticmodel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ float mask_t::gain(const pos_t& p)
}

diffuse_t::diffuse_t(tsccfg::node_t cfg, uint32_t chunksize,
TASCAR::levelmeter_t& rmslevel_, const std::string& name,
TASCAR::levelmeter_t& rmslevel_, const std::string& ,
plugin_processor_t& plugins_)
: xml_element_t(cfg), licensed_component_t(typeid(*this).name()),
audio(chunksize), falloff(1.0), active(true), layers(0xffffffff),
Expand Down
5 changes: 1 addition & 4 deletions libtascar/src/osc_scene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,7 @@ void osc_scene_t::add_diffuse_methods(TASCAR::osc_server_t* srv,
srv->add_method("/lingain", "f", osc_set_diffuse_gain_lin, s);
srv->add_float_dbspl("/caliblevel", &(s->caliblevel));
srv->add_uint("/layers", &(s->layers));
if(s->get_source())
s->get_source()->plugins.add_variables(srv);
else
throw TASCAR::ErrMsg("implementation error");
s->plugins.add_variables(srv);
srv->set_prefix(oldpref);
}

Expand Down

0 comments on commit b979eb3

Please sign in to comment.