Changeset 712 for code/branches/FICN/src/audio
- Timestamp:
- Dec 28, 2007, 11:09:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioStream.cc
r711 r712 28 28 29 29 #include "AudioStream.h" 30 #include "misc/String.h" 30 31 #include "../orxonox/core/Debug.h" 31 32 32 33 namespace audio 33 34 { 34 AudioStream::AudioStream(String path)35 AudioStream::AudioStream(orxonox::String path) 35 36 { 36 37 this->path = path; … … 254 255 255 256 256 String AudioStream::errorString(int code)257 orxonox::String AudioStream::errorString(int code) 257 258 { 258 259 switch(code) 259 260 { 260 261 case OV_EREAD: 261 return String("Read from media.");262 return orxonox::String("Read from media."); 262 263 case OV_ENOTVORBIS: 263 return String("Not Vorbis data.");264 return orxonox::String("Not Vorbis data."); 264 265 case OV_EVERSION: 265 return String("Vorbis version mismatch.");266 return orxonox::String("Vorbis version mismatch."); 266 267 case OV_EBADHEADER: 267 return String("Invalid Vorbis header.");268 return orxonox::String("Invalid Vorbis header."); 268 269 case OV_EFAULT: 269 return String("Internal logic fault (bug or heap/stack corruption.");270 return orxonox::String("Internal logic fault (bug or heap/stack corruption."); 270 271 default: 271 return String("Unknown Ogg error.");272 return orxonox::String("Unknown Ogg error."); 272 273 } 273 274 }
Note: See TracChangeset
for help on using the changeset viewer.