view Gui/error.h @ 3231:4bc4354ec88e

Added support for upsampling since dxr3/h+ only supports 44100Hz and 48000Hz, currently it only works on 44100/(2*ratio) Reverted get_delay to return a properly calculated value instead of 0.0
author mswitch
date Fri, 30 Nov 2001 22:18:51 +0000
parents 016f6d583733
children
line wrap: on
line source


#ifndef _MPLAYER_ERROR_HANDLER
#define _MPLAYER_ERROR_HANDLER

#define True 1
#define False 0

// 0 - standard message
// 1 - detto
// 2 - events
// 3 - skin reader messages
// 4 - bitmap reader messages
// 5 - signal handling messages
// 6 - gtk messages

typedef void (*errorTHandler)( int critical,const char * format, ... );

extern errorTHandler message;
extern errorTHandler dbprintf;

#endif