Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 712


Ignore:
Timestamp:
Dec 28, 2007, 11:09:24 PM (16 years ago)
Author:
rgrieder
Message:
  • blubb
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/audio/AudioStream.cc

    r711 r712  
    2828
    2929#include "AudioStream.h"
     30#include "misc/String.h"
    3031#include "../orxonox/core/Debug.h"
    3132
    3233namespace audio
    3334{
    34         AudioStream::AudioStream(String path)
     35  AudioStream::AudioStream(orxonox::String path)
    3536        {
    3637                this->path = path;
     
    254255
    255256
    256         String AudioStream::errorString(int code)
     257        orxonox::String AudioStream::errorString(int code)
    257258        {
    258259            switch(code)
    259260            {
    260261                case OV_EREAD:
    261                     return String("Read from media.");
     262                    return orxonox::String("Read from media.");
    262263                case OV_ENOTVORBIS:
    263                     return String("Not Vorbis data.");
     264                    return orxonox::String("Not Vorbis data.");
    264265                case OV_EVERSION:
    265                     return String("Vorbis version mismatch.");
     266                    return orxonox::String("Vorbis version mismatch.");
    266267                case OV_EBADHEADER:
    267                     return String("Invalid Vorbis header.");
     268                    return orxonox::String("Invalid Vorbis header.");
    268269                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.");
    270271                default:
    271                     return String("Unknown Ogg error.");
     272                    return orxonox::String("Unknown Ogg error.");
    272273            }
    273274        }
Note: See TracChangeset for help on using the changeset viewer.