[beast: 7/12] BEAST: use SNetH.auto_activate()



commit 3cfee4a592ef1dcf519943cdf2de4cc96868a7fd
Author: Tim Janik <timj gnu org>
Date:   Tue Sep 22 19:41:59 2015 +0200

    BEAST: use SNetH.auto_activate()

 beast-gtk/bstplayback.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstplayback.cc b/beast-gtk/bstplayback.cc
index d31e6c4..1e63f2f 100644
--- a/beast-gtk/bstplayback.cc
+++ b/beast-gtk/bstplayback.cc
@@ -24,7 +24,7 @@ bst_play_back_handle_new (void)
 
   SfiProxy snet_proxy = bse_project_create_csynth (handle->project.proxy_id(), NULL);
   handle->snet = Bse::SNetH::down_cast (bse_server.from_proxy (snet_proxy));
-  bse_proxy_set (handle->snet.proxy_id(), "auto_activate", TRUE, NULL);
+  handle->snet.auto_activate (true);
   handle->speaker = handle->snet.create_source ("BsePcmOutput").proxy_id();
   handle->wosc1 = handle->snet.create_source ("BseWaveOsc").proxy_id();
   handle->wosc2 = handle->snet.create_source ("BseWaveOsc").proxy_id();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]