diff options
author | Max Kellermann <max@duempel.org> | 2013-01-02 20:36:28 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-02 20:36:28 +0100 |
commit | 975deca85b3fb881571203c9a2cad4eb242cd954 (patch) | |
tree | de6f8c57fee4b3b80aafd7a9c087a6b6b90ffadb /src/player_thread.h | |
parent | 3bbb5023871aaba48b6f503dd53d864f9a44c07d (diff) | |
download | mpd-975deca85b3fb881571203c9a2cad4eb242cd954.tar.gz mpd-975deca85b3fb881571203c9a2cad4eb242cd954.tar.xz mpd-975deca85b3fb881571203c9a2cad4eb242cd954.zip |
{decoder,player}_thread: convert to C++
Diffstat (limited to 'src/player_thread.h')
-rw-r--r-- | src/player_thread.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/player_thread.h b/src/player_thread.h deleted file mode 100644 index 7373eb438..000000000 --- a/src/player_thread.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2003-2011 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. - */ - -/* \file - * - * The player thread controls the playback. It acts as a bridge - * between the decoder thread and the output thread(s): it receives - * #music_chunk objects from the decoder, optionally mixes them - * (cross-fading), applies software volume, and sends them to the - * audio outputs via audio_output_all_play(). - * - * It is controlled by the main thread (the playlist code), see - * player_control.h. The playlist enqueues new songs into the player - * thread and sends it commands. - * - * The player thread itself does not do any I/O. It synchronizes with - * other threads via #GMutex and #GCond objects, and passes - * #music_chunk instances around in #music_pipe objects. - */ - -#ifndef MPD_PLAYER_THREAD_H -#define MPD_PLAYER_THREAD_H - -struct player_control; - -void -player_create(struct player_control *pc); - -#endif |