hydrogen 1.2.6
AudioEngine.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  H2Core
 

Macros

#define AE_DEBUGLOG(x)
 
#define AE_ERRORLOG(x)
 
#define AE_INFOLOG(x)
 
#define AE_WARNINGLOG(x)
 
#define AUDIO_ENGINE_DEBUG   0
 

Functions

timeval currentTime2 ()
 Gets the current time.
 

Macro Definition Documentation

◆ AE_DEBUGLOG

#define AE_DEBUGLOG ( x)
Value:
if ( __logger->should_log( Logger::Debug ) ) { \
__logger->log( Logger::Debug, _class_name(), __FUNCTION__, \
QString( "%1" ).arg( x ), "\033[34;1m" ); }

Definition at line 83 of file AudioEngine.cpp.

◆ AE_ERRORLOG

#define AE_ERRORLOG ( x)
Value:
ERRORLOG( QString( "[%1] %2" ) \
.arg( Hydrogen::get_instance()->getAudioEngine()->getDriverNames() ).arg( x ) );
#define ERRORLOG(x)
Definition Object.h:242

Definition at line 81 of file AudioEngine.cpp.

◆ AE_INFOLOG

#define AE_INFOLOG ( x)
Value:
INFOLOG( QString( "[%1] %2" ) \
.arg( Hydrogen::get_instance()->getAudioEngine()->getDriverNames() ).arg( x ) );
#define INFOLOG(x)
Definition Object.h:240

Definition at line 77 of file AudioEngine.cpp.

◆ AE_WARNINGLOG

#define AE_WARNINGLOG ( x)
Value:
WARNINGLOG( QString( "[%1] %2" ) \
.arg( Hydrogen::get_instance()->getAudioEngine()->getDriverNames() ).arg( x ) );
#define WARNINGLOG(x)
Definition Object.h:241

Definition at line 79 of file AudioEngine.cpp.

◆ AUDIO_ENGINE_DEBUG

#define AUDIO_ENGINE_DEBUG   0

Definition at line 72 of file AudioEngine.cpp.