From d32f49a90ba69525884ee6fe4f2055792aa10430 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2008 07:20:26 +0200 Subject: output: one thread per audio output To keep I/O nastiness and latencies away from the core, move the audio output code to a separate thread, one per output. The thread is created on demand, and currently runs until mpd exits. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 368e051fc..2069c45c3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,6 +37,7 @@ mpd_headers = \ audioOutput.h \ output_api.h \ output_list.h \ + output_thread.h \ output_control.h \ audioOutputs/audioOutput_shout.h \ buffer2array.h \ @@ -114,6 +115,7 @@ mpd_SOURCES = \ audio.c \ audioOutput.c \ output_list.c \ + output_thread.c \ output_control.c \ output_init.c \ buffer2array.c \ -- cgit v1.2.3