Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 11:33:10 PM (16 years ago)
Author:
rgrieder
Message:
  • the master has spoken…
  • misc/String.h is not anymore..
File:
1 edited

Legend:

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

    r712 r715  
    2626 */
    2727
     28#include <string>
    2829
    2930#include "AudioStream.h"
    30 #include "misc/String.h"
    3131#include "../orxonox/core/Debug.h"
    3232
    3333namespace audio
    3434{
    35   AudioStream::AudioStream(orxonox::String path)
     35  AudioStream::AudioStream(std::string path)
    3636        {
    3737                this->path = path;
     
    255255
    256256
    257         orxonox::String AudioStream::errorString(int code)
     257        std::string AudioStream::errorString(int code)
    258258        {
    259259            switch(code)
    260260            {
    261261                case OV_EREAD:
    262                     return orxonox::String("Read from media.");
     262                    return std::string("Read from media.");
    263263                case OV_ENOTVORBIS:
    264                     return orxonox::String("Not Vorbis data.");
     264                    return std::string("Not Vorbis data.");
    265265                case OV_EVERSION:
    266                     return orxonox::String("Vorbis version mismatch.");
     266                    return std::string("Vorbis version mismatch.");
    267267                case OV_EBADHEADER:
    268                     return orxonox::String("Invalid Vorbis header.");
     268                    return std::string("Invalid Vorbis header.");
    269269                case OV_EFAULT:
    270                     return orxonox::String("Internal logic fault (bug or heap/stack corruption.");
     270                    return std::string("Internal logic fault (bug or heap/stack corruption.");
    271271                default:
    272                     return orxonox::String("Unknown Ogg error.");
     272                    return std::string("Unknown Ogg error.");
    273273            }
    274274        }
Note: See TracChangeset for help on using the changeset viewer.