diff src/flacng/tools.c @ 1401:263d72004333

- Introduce a mutex for test_info and lock appropriately
author Ralf Ertzinger <ralf@skytale.net>
date Sat, 04 Aug 2007 16:30:43 +0200
parents 47559538ce3d
children 654aa79e43ef
line wrap: on
line diff
--- a/src/flacng/tools.c	Fri Aug 03 20:39:05 2007 +0200
+++ b/src/flacng/tools.c	Sat Aug 04 16:30:43 2007 +0200
@@ -66,6 +66,8 @@
     info->replaygain.album_peak = NULL;
     reset_info(info, FALSE);
 
+    info->mutex = g_mutex_new();
+
     _DEBUG("Playback buffer allocated for %d samples, %d bytes", BUFFER_SIZE_SAMP, BUFFER_SIZE_BYTE);
 
     _LEAVE info;