@@ -508,7 +508,7 @@ Controller<Renderer>::Controller(int argc, char* argv[])
508508 if (_conf.ip_server )
509509 {
510510
511- VERBOSE (" Starting IP Server with port " << _conf.server_port
511+ SSR_VERBOSE (" Starting IP Server with port " << _conf.server_port
512512 << " and with end-of-message character with ASCII code " <<
513513 _conf.end_of_message_character << " ." );
514514
@@ -521,7 +521,7 @@ Controller<Renderer>::Controller(int argc, char* argv[])
521521#ifdef ENABLE_WEBSOCKET_INTERFACE
522522 if (_conf.websocket_server )
523523 {
524- VERBOSE (" Starting WebSocket server with port " << _conf.websocket_port );
524+ SSR_VERBOSE (" Starting WebSocket server with port " << _conf.websocket_port );
525525 _websocket_interface = std::make_unique<ws::Server>(*this
526526 , _conf.websocket_port , _conf.websocket_resource_directory );
527527 }
@@ -938,11 +938,11 @@ class Controller<Renderer>::CommonInterface
938938 if (auto_rotate)
939939 {
940940 _controller._orient_all_sources_toward_reference ();
941- VERBOSE (" Auto-rotation of sound sources is enabled." );
941+ SSR_VERBOSE (" Auto-rotation of sound sources is enabled." );
942942 }
943943 else
944944 {
945- VERBOSE (" Auto-rotation of sound sources is disabled." );
945+ SSR_VERBOSE (" Auto-rotation of sound sources is disabled." );
946946 }
947947 }
948948 }
@@ -989,7 +989,7 @@ class Controller<Renderer>::CommonInterface
989989 {
990990 if (_controller._scene .get_auto_rotation ())
991991 {
992- VERBOSE2 (" Ignoring update of source rotation."
992+ SSR_VERBOSE2 (" Ignoring update of source rotation."
993993 << " Auto-rotation is enabled." );
994994 return ;
995995 }
@@ -1498,7 +1498,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
14981498
14991499 if (scene_file_name == " " )
15001500 {
1501- VERBOSE (" No scene file specified. Opening empty scene ..." );
1501+ SSR_VERBOSE (" No scene file specified. Opening empty scene ..." );
15021502 return true ;
15031503 }
15041504
@@ -1527,7 +1527,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
15271527 }
15281528 else if (scene_file->validate (_conf.xml_schema ))
15291529 {
1530- VERBOSE (" Valid scene setup (" << scene_file_name << " )." );
1530+ SSR_VERBOSE (" Valid scene setup (" << scene_file_name << " )." );
15311531 }
15321532 else
15331533 {
@@ -1550,7 +1550,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
15501550 master_volume = 0 .0f ;
15511551 }
15521552
1553- VERBOSE (" Setting master volume to " << master_volume << " dB." );
1553+ SSR_VERBOSE (" Setting master volume to " << master_volume << " dB." );
15541554 _publish (&api::SceneControlEvents::master_volume
15551555 , apf::math::dB2linear (master_volume));
15561556
@@ -1567,7 +1567,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
15671567 }
15681568
15691569 // always use default value when nothing is specified
1570- VERBOSE (" Setting amplitude decay exponent to " << exponent << " ." );
1570+ SSR_VERBOSE (" Setting amplitude decay exponent to " << exponent << " ." );
15711571 _publish (&api::SceneControlEvents::decay_exponent, exponent);
15721572
15731573 // GET AMPLITUDE REFERENCE DISTANCE
@@ -1586,7 +1586,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
15861586 }
15871587
15881588 // always use default value when nothing is specified
1589- VERBOSE (" Setting amplitude reference distance to "
1589+ SSR_VERBOSE (" Setting amplitude reference distance to "
15901590 << ref_dist << " meters." );
15911591 _publish (&api::SceneControlEvents::amplitude_reference_distance, ref_dist);
15921592
@@ -1609,7 +1609,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
16091609 }
16101610 else
16111611 {
1612- VERBOSE (" No reference point given in XML file. "
1612+ SSR_VERBOSE (" No reference point given in XML file. "
16131613 " Using standard (= origin)." );
16141614 }
16151615 if (!pos_ptr) pos_ptr.reset (new internal::PositionPlusBool ());
@@ -1645,7 +1645,7 @@ Controller<Renderer>::_load_scene(const std::string& scene_file_name)
16451645
16461646 if (model == " " )
16471647 {
1648- VERBOSE (" Source model not defined!" << id_str << name_str
1648+ SSR_VERBOSE (" Source model not defined!" << id_str << name_str
16491649 << " Using default (= point source)." );
16501650 model = " point" ;
16511651 }
@@ -1756,7 +1756,7 @@ Controller<Renderer>::_create_spontaneous_scene(
17561756 case 1 : // mono file
17571757 {
17581758 Pos pos{0 , default_source_distance};
1759- VERBOSE (" Creating point source at x = " << pos.x
1759+ SSR_VERBOSE (" Creating point source at x = " << pos.x
17601760 << " mtrs, y = " << pos.y << " mtrs." );
17611761 assert (pos.z == 0 );
17621762 _new_source (" " , source_name, " point" , audio_file_name, 1
@@ -1772,7 +1772,7 @@ Controller<Renderer>::_create_spontaneous_scene(
17721772 const float pos_y = default_source_distance * std::sin (pi/3 .0f );
17731773
17741774 Pos pos{-pos_x, pos_y};
1775- VERBOSE (" Creating plane wave at x = " << pos.x
1775+ SSR_VERBOSE (" Creating plane wave at x = " << pos.x
17761776 << " mtrs, y = " << pos.y << " mtrs." );
17771777 assert (pos.z == 0 );
17781778
@@ -1781,7 +1781,7 @@ Controller<Renderer>::_create_spontaneous_scene(
17811781 , false , 1 .0f , false , " " );
17821782
17831783 pos = Pos{pos_x, pos_y};
1784- VERBOSE (" Creating plane wave at x = " << pos.x
1784+ SSR_VERBOSE (" Creating plane wave at x = " << pos.x
17851785 << " mtrs, y = " << pos.y << " mtrs." );
17861786 assert (pos.z == 0 );
17871787
@@ -1809,7 +1809,7 @@ Controller<Renderer>::_create_spontaneous_scene(
18091809
18101810 Pos pos{pos_x, pos_y};
18111811
1812- VERBOSE (" Creating point source at x = " << pos.x
1812+ SSR_VERBOSE (" Creating point source at x = " << pos.x
18131813 << " mtrs, y = " << pos.y << " mtrs." );
18141814 assert (pos.z == 0 );
18151815
@@ -2036,7 +2036,7 @@ Controller<Renderer>::_new_source(id_t requested_id, const std::string& name
20362036
20372037 if (port_name == " " )
20382038 {
2039- VERBOSE (" No audio file or port specified for source" );
2039+ SSR_VERBOSE (" No audio file or port specified for source" );
20402040 }
20412041
20422042 apf::parameter_map p;
0 commit comments