music player daemon (fork)
2a5dcba5ed
This institutes the usage of a separate thread to buffer HTTP input. It is basically practice code for using the ringbuffer code which I plan on reusing for the OutputBuffer as well as further input buffering for disk (networked filesystems over WAN, laptops on battery, etc). Each readFromInputStream() call on an HTTP stream can take several seconds to complete, short reads are avoided. A single-threaded solution for systems supporting large enough SO_RCVBUF values should also be possible and will likely be done in the future; but this lock-free(except when full/empty) ringbuffer is cool :) git-svn-id: https://svn.musicpd.org/mpd/trunk@7393 09075e82-0dd4-0310-85a5-a0d7c8717e4f |
||
---|---|---|
bs | ||
doc | ||
m4 | ||
scripts | ||
src | ||
AUTHORS | ||
autogen.sh | ||
build.mk | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
README | ||
TODO | ||
UPGRADING |
Music Player Daemon (MPD) http://www.musicpd.org A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely. To install MPD, see INSTALL. MPD includes mp4ff in the source, due to licensing issues of the newer version and includes bugfixes with the properly licensed version. mp4ff is released under the GPL and copyrighted by M. Bakker, Ahead Software AG (http://www.nero.com) and is distributed as a part of the FAAD2 - Freeware Advance Audio (AAC) Decoder. MPD is released under the GNU Public License. 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 For the full license, see COPYING.