comparison src/amidi-plug/i_common.h @ 1414:5f892afeb8e1 audacious-plugins-1.4.0-dr2

- amidi-plug 0.8 beta1; support for gthread and v3 plugin system; needs testing and refinements
author Giacomo Lozito <james@develia.org>
date Mon, 06 Aug 2007 14:01:24 +0200
parents 8298974410fe
children 3134a0987162
comparison
equal deleted inserted replaced
1413:4731d28ea19d 1414:5f892afeb8e1
28 #include <strings.h> 28 #include <strings.h>
29 #include <glib.h> 29 #include <glib.h>
30 30
31 #include <audacious/i18n.h> 31 #include <audacious/i18n.h>
32 32
33 #define DEBUG 1
34
33 #define textdomain(Domain) 35 #define textdomain(Domain)
34 #define bindtextdomain(Package, Directory) 36 #define bindtextdomain(Package, Directory)
35 37
36 #define WARNANDBREAK(...) { g_warning(__VA_ARGS__); break; } 38 #define WARNANDBREAK(...) { g_warning(__VA_ARGS__); break; }
37 #define WARNANDBREAKANDPLAYERR(...) { amidiplug_playing_status = AMIDIPLUG_ERR; g_warning(__VA_ARGS__); break; } 39 #define WARNANDBREAKANDPLAYERR(...) { amidiplug_playing_status = AMIDIPLUG_ERR; g_warning(__VA_ARGS__); break; }
41 #else 43 #else
42 #define DEBUGMSG(...) 44 #define DEBUGMSG(...)
43 #endif /* DEBUG */ 45 #endif /* DEBUG */
44 46
45 47
46 #define AMIDIPLUG_VERSION "0.7p1" 48 #define AMIDIPLUG_VERSION "0.8b1"
47 #define PLAYER_NAME "Audacious" 49 #define PLAYER_NAME "Audacious"
48 #define PLAYER_LOCALRCDIR ".audacious" 50 #define PLAYER_LOCALRCDIR ".audacious"
49 #define G_PATH_GET_BASENAME(x) g_path_get_basename(x) 51 #define G_PATH_GET_BASENAME(x) g_path_get_basename(x)
50 #define G_STRING_PRINTF(...) g_string_printf(__VA_ARGS__) 52 #define G_STRING_PRINTF(...) g_string_printf(__VA_ARGS__)
51 #define G_USLEEP(x) g_usleep(x) 53 #define G_USLEEP(x) g_usleep(x)