Changeset 19367
- Timestamp:
- 10/01/06 17:00:05 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/sonix/plugins/AudioWorks/AudioWorksSoundImplementation.cpp
r18824 r19367 46 46 #include <gmtl/Xforms.h> 47 47 48 #include <vpr/vpr.h> 49 #include <vpr/System.h> 48 50 #include <vpr/Util/Assert.h> 49 51 #include <vpr/Util/Debug.h> … … 369 371 { 370 372 // figure out what host to connect to if any: 371 std::string hostname = getenv( "SNX_AW_HOSTNAME" ); 373 std::string hostname; 374 vpr::System::getenv("SNX_AW_HOSTNAME", hostname); 372 375 373 376 // if no hostname set, then look for an rc file … … 375 378 { 376 379 hostname = "localhost"; 377 std::string rc_filepath = getenv( "HOME");380 vpr::System::getenv("HOME", rc_filepath); 378 381 rc_filepath += "/.sonix-aw"; 379 382 vpr::DebugOutputGuard output1(snxDBG, vprDBG_CONFIG_LVL, std::string("AudioWorks| Reading "+rc_filepath+" for hostname"), std::string("\n"));
