diff options
Diffstat (limited to '')
-rw-r--r-- | src/InputInternal.cxx | 40 | ||||
-rw-r--r-- | src/InputInternal.hxx | 33 | ||||
-rw-r--r-- | src/archive/Bzip2ArchivePlugin.cxx | 1 | ||||
-rw-r--r-- | src/archive/Iso9660ArchivePlugin.cxx | 1 | ||||
-rw-r--r-- | src/archive/ZzipArchivePlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/CdioParanoiaInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/CurlInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/DespotifyInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/FfmpegInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/FileInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/MmsInputPlugin.cxx | 1 | ||||
-rw-r--r-- | src/input/RewindInputPlugin.cxx | 1 |
12 files changed, 0 insertions, 83 deletions
diff --git a/src/InputInternal.cxx b/src/InputInternal.cxx deleted file mode 100644 index 93a8b9b51..000000000 --- a/src/InputInternal.cxx +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2003-2013 The Music Player Daemon Project - * 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., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include "config.h" -#include "InputInternal.hxx" -#include "InputStream.hxx" -#include "thread/Cond.hxx" - -void -input_stream_signal_client(struct input_stream *is) -{ - is->cond.broadcast(); -} - -void -input_stream_set_ready(struct input_stream *is) -{ - const ScopeLock protect(is->mutex); - - if (!is->ready) { - is->ready = true; - input_stream_signal_client(is); - } -} diff --git a/src/InputInternal.hxx b/src/InputInternal.hxx deleted file mode 100644 index 019ac09c6..000000000 --- a/src/InputInternal.hxx +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2003-2013 The Music Player Daemon Project - * 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., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef MPD_INPUT_INTERNAL_HXX -#define MPD_INPUT_INTERNAL_HXX - -#include "check.h" - -struct input_stream; - -void -input_stream_signal_client(struct input_stream *is); - -void -input_stream_set_ready(struct input_stream *is); - -#endif diff --git a/src/archive/Bzip2ArchivePlugin.cxx b/src/archive/Bzip2ArchivePlugin.cxx index be8e66fc7..c6bd7c40b 100644 --- a/src/archive/Bzip2ArchivePlugin.cxx +++ b/src/archive/Bzip2ArchivePlugin.cxx @@ -26,7 +26,6 @@ #include "ArchivePlugin.hxx" #include "ArchiveFile.hxx" #include "ArchiveVisitor.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/RefCount.hxx" diff --git a/src/archive/Iso9660ArchivePlugin.cxx b/src/archive/Iso9660ArchivePlugin.cxx index 1cfac3a43..729efb589 100644 --- a/src/archive/Iso9660ArchivePlugin.cxx +++ b/src/archive/Iso9660ArchivePlugin.cxx @@ -26,7 +26,6 @@ #include "ArchivePlugin.hxx" #include "ArchiveFile.hxx" #include "ArchiveVisitor.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/RefCount.hxx" diff --git a/src/archive/ZzipArchivePlugin.cxx b/src/archive/ZzipArchivePlugin.cxx index 436afc417..ee2f2e76a 100644 --- a/src/archive/ZzipArchivePlugin.cxx +++ b/src/archive/ZzipArchivePlugin.cxx @@ -26,7 +26,6 @@ #include "ArchivePlugin.hxx" #include "ArchiveFile.hxx" #include "ArchiveVisitor.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/RefCount.hxx" diff --git a/src/input/CdioParanoiaInputPlugin.cxx b/src/input/CdioParanoiaInputPlugin.cxx index db0593cee..b606df869 100644 --- a/src/input/CdioParanoiaInputPlugin.cxx +++ b/src/input/CdioParanoiaInputPlugin.cxx @@ -23,7 +23,6 @@ #include "config.h" #include "CdioParanoiaInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/Error.hxx" diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx index 93529b5f3..bce0c94aa 100644 --- a/src/input/CurlInputPlugin.cxx +++ b/src/input/CurlInputPlugin.cxx @@ -19,7 +19,6 @@ #include "config.h" #include "CurlInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "ConfigGlobal.hxx" diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx index a0eaa7793..6fc408de9 100644 --- a/src/input/DespotifyInputPlugin.cxx +++ b/src/input/DespotifyInputPlugin.cxx @@ -20,7 +20,6 @@ #include "config.h" #include "DespotifyInputPlugin.hxx" #include "DespotifyUtils.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "tag/Tag.hxx" diff --git a/src/input/FfmpegInputPlugin.cxx b/src/input/FfmpegInputPlugin.cxx index 0d9cf6b8f..cba978029 100644 --- a/src/input/FfmpegInputPlugin.cxx +++ b/src/input/FfmpegInputPlugin.cxx @@ -22,7 +22,6 @@ #include "config.h" #include "FfmpegInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/Error.hxx" diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx index 22cb8d5e6..a351edf98 100644 --- a/src/input/FileInputPlugin.cxx +++ b/src/input/FileInputPlugin.cxx @@ -19,7 +19,6 @@ #include "config.h" /* must be first for large file support */ #include "FileInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/Error.hxx" diff --git a/src/input/MmsInputPlugin.cxx b/src/input/MmsInputPlugin.cxx index 04c3e86c9..ed391bc9f 100644 --- a/src/input/MmsInputPlugin.cxx +++ b/src/input/MmsInputPlugin.cxx @@ -19,7 +19,6 @@ #include "config.h" #include "MmsInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "util/Error.hxx" diff --git a/src/input/RewindInputPlugin.cxx b/src/input/RewindInputPlugin.cxx index 567fb6888..c451ad332 100644 --- a/src/input/RewindInputPlugin.cxx +++ b/src/input/RewindInputPlugin.cxx @@ -19,7 +19,6 @@ #include "config.h" #include "RewindInputPlugin.hxx" -#include "InputInternal.hxx" #include "InputStream.hxx" #include "InputPlugin.hxx" #include "tag/Tag.hxx" |