aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:09 +0200
commite8bd9ddc9fc99d31659db1121622bef0f3303fc1 (patch)
treea9fea2466a207ca957fe47c6a0881e957ba2aad5 /src/player_thread.h
parent6104e9690e75046b793c0abe6fc20576fb3da19b (diff)
downloadmpd-e8bd9ddc9fc99d31659db1121622bef0f3303fc1.tar.gz
mpd-e8bd9ddc9fc99d31659db1121622bef0f3303fc1.tar.xz
mpd-e8bd9ddc9fc99d31659db1121622bef0f3303fc1.zip
moved code to player_thread.c
Move code which runs in the player thread to player_thread.c. Having a lot of player thread code in decode.c isn't easy to understand.
Diffstat (limited to '')
-rw-r--r--src/player_thread.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/player_thread.h b/src/player_thread.h
new file mode 100644
index 000000000..4d154d6a1
--- /dev/null
+++ b/src/player_thread.h
@@ -0,0 +1,24 @@
+/* the Music Player Daemon (MPD)
+ * Copyright (C) 2008 Max Kellermann <max@duempel.org>
+ * This project's homepage is: http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef PLAYER_THREAD_H
+#define PLAYER_THREAD_H
+
+void player_create(void);
+
+#endif