comparison src/xmms-sid.cc @ 63:05220299c6e8

Kuumaa paskaa
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 22 Jun 2003 12:10:01 +0000
parents 85811bcd049e
children d3bb914e3af3
comparison
equal deleted inserted replaced
62:0d1df20745dd 63:05220299c6e8
49 49
50 /* 50 /*
51 * Global variables 51 * Global variables
52 */ 52 */
53 #ifdef HAVE_SIDPLAY1 53 #ifdef HAVE_SIDPLAY1
54 static struct emuConfig xs_emuConf; 54 static struct emuConfig xs_emuConf;
55 static emuEngine xs_emuEngine; 55 static emuEngine xs_emuEngine;
56 typedef sidTune t_xs_tune; 56 typedef sidTune t_xs_tune;
57 typedef struct sidTuneInfo t_xs_tuneinfo; 57 typedef struct sidTuneInfo t_xs_tuneinfo;
58 #endif 58 #endif
59 59
60 #ifdef HAVE_SIDPLAY2 60 #ifdef HAVE_SIDPLAY2
61 static struct sid2_config_t xs_emuConf; 61 static struct sid2_config_t xs_emuConf;
62 static sidplay2 xs_emuEngine; 62 static sidplay2 xs_emuEngine;
63 typedef SidTune t_xs_tune; 63 typedef SidTune t_xs_tune;
64 typedef struct SidTuneInfo t_xs_tuneinfo; 64 typedef struct SidTuneInfo t_xs_tuneinfo;
65 #endif 65 #endif
66 66
67 67 static GtkWidget *xs_ctrlwin = NULL;
68 static GtkWidget *xs_ctrlwin = NULL; 68 static pthread_t xs_decode_thread;
69 static pthread_t xs_decode_thread; 69 struct t_xs_cfg xs_cfg;
70 struct t_xs_cfg xs_cfg;
71
72 70
73 struct { 71 struct {
74 gboolean isError, isPlaying, allowNext; 72 gboolean isError, isPlaying, allowNext;
75 gint currSong, nSongs; 73 gint currSong, nSongs;
76 t_xs_tune *currTune; 74 t_xs_tune *currTune;
77 gchar *currFilename; 75 gchar *currFilename;
78 } xs_status; 76 } xs_status;
79 77
80 pthread_mutex_t xs_mutex = PTHREAD_MUTEX_INITIALIZER; 78 pthread_mutex_t xs_mutex = PTHREAD_MUTEX_INITIALIZER;
81 79
82 /* 80 /*
83 * Create sub-song control window 81 * Create sub-song control window
84 */ 82 */
85 void xs_ctrlwin_open(void) 83 void xs_ctrlwin_open(void)