Ignore:
Timestamp:
05/16/15 17:40:16 (10 years ago)
Author:
epyon
Message:
  • overhaul of logging: no longer stream operated no longer using STL no memory allocation shorthand macros fast file and console I/O
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:global-ignores set to
      vs2012
      vs2013
      gmake
      gmake-clang
  • trunk/src/fmod/fmod_audio.cc

    r330 r365  
    2424        if ( result != FMOD_OK )
    2525        {
    26                 NV_LOG( LOG_CRITICAL, "Failed to create FMOD System -- " << FMOD_ErrorString( result ) );
     26                NV_LOG_CRITICAL( "Failed to create FMOD System -- ", FMOD_ErrorString( result ) );
    2727                return;
    2828        }
     
    3030        if ( result != FMOD_OK )
    3131        {
    32                 NV_LOG( LOG_ERROR, "Failed to initialize FMOD System -- " << FMOD_ErrorString( result ) );
     32                NV_LOG_ERROR( "Failed to initialize FMOD System -- ", FMOD_ErrorString( result ) );
    3333                return;
    3434        }
     
    4747                if ( result != FMOD_OK )
    4848                {
    49                         NV_LOG( LOG_WARNING, "FMOD failed to play sound -- " << FMOD_ErrorString( result ) );
     49                        NV_LOG_WARNING( "FMOD failed to play sound -- ", FMOD_ErrorString( result ) );
    5050                }
    5151                else
     
    7070                if ( result != FMOD_OK )
    7171                {
    72                         NV_LOG( LOG_WARNING, "FMOD failed to play sound -- " << FMOD_ErrorString( result ) );
     72                        NV_LOG_WARNING( "FMOD failed to play sound -- ", FMOD_ErrorString( result ) );
    7373                }
    7474                else
     
    9595        if ( fm_result != FMOD_OK )
    9696        {
    97                 NV_LOG( LOG_ERROR, "FMOD failed to load sample '" << a_path << "' -- " << FMOD_ErrorString( fm_result ) );
     97                NV_LOG_ERROR( "FMOD failed to load sample '", a_path, "' -- ", FMOD_ErrorString( fm_result ) );
    9898                return sound();
    9999        }
Note: See TracChangeset for help on using the changeset viewer.