[Mplayer-cvslog] CVS: main/libao2 audio_plugin.h,1.4,1.5
pl
pl at mplayer.dev.hu
Wed Dec 5 11:31:23 CET 2001
Update of /cvsroot/mplayer/main/libao2
In directory mplayer:/var/tmp.root/cvs-serv26916/libao2
Modified Files:
audio_plugin.h
Log Message:
CVS is still broken with gcc3. This fixes it.
But please explain _why_ the 'volatile' attribute is needed with these
variables and why is it supposed to protect them ?
Index: audio_plugin.h
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/audio_plugin.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- audio_plugin.h 4 Dec 2001 15:44:04 -0000 1.4
+++ audio_plugin.h 5 Dec 2001 10:31:10 -0000 1.5
@@ -26,7 +26,7 @@
float delay_fix; /* Fix delay */
}ao_plugin_data_t;
-extern ao_plugin_data_t ao_plugin_data;
+extern volatile ao_plugin_data_t ao_plugin_data;
// Plugin confuguration data set by cmd-line parameters
typedef struct ao_plugin_cfg_s
@@ -36,7 +36,7 @@
int pl_delay_len; // Number of samples to delay sound output
} ao_plugin_cfg_t;
-extern ao_plugin_cfg_t ao_plugin_cfg;
+extern volatile ao_plugin_cfg_t ao_plugin_cfg;
// Configuration defaults
#define CFG_DEFAULTS { \
More information about the MPlayer-cvslog
mailing list