Changeset 8861 for code/trunk/src/orxonox/sound
- Timestamp:
- Aug 23, 2011, 2:30:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/AmbientSound.cc
r8858 r8861 92 92 shared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path); 93 93 if (fileInfo != NULL) 94 { 95 orxout(user_info) << "Loading ambient sound " << path << "..." << endl; // TODO: make this output internal if we implement sound streaming 94 96 this->setSource(path); 97 } 95 98 else 99 { 96 100 orxout(internal_warning, context::sound) << this->ambientSource_ << ": Not a valid name! Ambient sound will not change." << endl; 101 } 97 102 } 98 103 }
Note: See TracChangeset
for help on using the changeset viewer.