Ignore:
Timestamp:
06/11/15 16:23:41 (10 years ago)
Author:
epyon
Message:
  • massive shift towards nova STL
  • include cleanups


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sdl/sdl_audio.cc

    r368 r392  
    8585}
    8686
    87 nv::sound nv::sdl::audio::load_sound( const std::string& a_path )
     87nv::sound nv::sdl::audio::load_sound( const string_ref& a_path )
    8888{
    8989        // TODO: this is a really weird error - if we remove this check, all hell gets loose
     
    9292                NV_LOG_ERROR( "SDL_mixer not loaded!" );
    9393        }
    94         Mix_Chunk *sample = Mix_LoadWAV_RW(SDL_RWFromFile(a_path.c_str(), "rb"), 1);
     94        Mix_Chunk *sample = Mix_LoadWAV_RW(SDL_RWFromFile(a_path.data(), "rb"), 1);
    9595        if ( sample == nullptr )
    9696        {
Note: See TracChangeset for help on using the changeset viewer.