From 548385ac6cc0bc344762e19117f94258e7ea2251 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 19 Aug 2008 03:31:25 -0700 Subject: fix output buffer deadlock when daemonizing We spawned the output buffer thread before daemonizing in initPlayerData(), which is ultra bad because daemonizes forks and threads are not preserved on exit. Since playerData has been stripped bare by this core-rewrite anyways, move this code into the outputBuffer_* group and drop playerData.[ch] completely I completely forgot to test this :< --- src/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 93943db23..6c52dde1e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -61,6 +61,7 @@ mpd_headers = \ compress.h \ os_compat.h \ outputBuffer.h \ + outputBuffer_config_init.h \ outputBuffer_accessors.h \ outputBuffer_audio.h \ outputBuffer_ob_send.h \ @@ -69,7 +70,6 @@ mpd_headers = \ pcm_utils.h \ permission.h \ player_error.h \ - playerData.h \ playlist.h \ replayGain.h \ ringbuf.h \ @@ -126,7 +126,6 @@ mpd_SOURCES = \ pcm_utils.c \ permission.c \ player_error.c \ - playerData.c \ playlist.c \ replayGain.c \ ringbuf.c \ -- cgit v1.2.3