aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add draft ALSA input pluginSteven O'Brien2013-12-194-0/+244
| | | | | | | | | | | | | | | | | | | | | | I've created an elementary input plugin that plays sound from the soundcard, so you can use MPD to listen to anything connected to the line-in jack, or to Video4Linux FM radio cards that send audio through the soundcard. There has been a small number of posts here in the past requesting line-in input, so here is a first, simplistic stab at it. The patch adds a new sheme, alsa://, which causes mpd to play data read directly from a souncdard. It defaults to hw:0,0, but you can pass any ALSA device name in the URI. So, using mpc for example: mpc add alsa:// mpc play will play from device hw:0,0. To use a diffferent device: mpc add alsa://hw:1,0
* output/osx: fix typoMax Kellermann2013-12-191-1/+1
|
* util/fifo_buffer: remove obsolete libraryMax Kellermann2013-12-193-383/+0
|
* output/osx: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann2013-12-191-26/+21
|
* util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann2013-12-192-4/+4
| | | | | | The DynamicFifoBuffer methods never return nullptr when the buffer is empty or full; instead, they return an empty buffer. This bug caused an endless loop.
* util/{Domain,Error}: relicense to BSD 2-clauseMax Kellermann2013-12-163-43/+73
|
* util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann2013-12-153-48/+36
| | | | Switch to the C++ version.
* util/PeakBuffer: return ConstBuffer<void>Max Kellermann2013-12-153-11/+16
|
* util/WritableBuffer: add cast methodsMax Kellermann2013-12-151-1/+30
|
* util/WritableBuffer: fix indentMax Kellermann2013-12-151-31/+31
|
* util/DynamicFifoBuffer: make constructor "explicit"Max Kellermann2013-12-151-1/+1
|
* Merge branch 'v0.18.x'Max Kellermann2013-12-151-1/+13
|\
| * mixer/alsa: fix deadlockMax Kellermann2013-12-151-1/+13
| | | | | | | | | | | | This deadlock was a regression by commit 8e38b4f8. Since we currently can't resolve this, let's revert the commit, and add a GLib specific workaround for the build failure.
* | configure.ac: add option "--disable-glib"Max Kellermann2013-12-156-3/+35
| | | | | | | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
* | Daemon: use strdup() instead of g_strdup()Max Kellermann2013-12-151-5/+3
| |
* | util/Tokenizer, ...: include cleanupMax Kellermann2013-12-156-12/+0
| |
* | system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann2013-12-154-9/+14
| | | | | | | | Avoid GLib.
* | LogInit: move backend code to LogBackend.cxxMax Kellermann2013-12-153-175/+206
| |
* | Log: move Log() to LogBackend.cxxMax Kellermann2013-12-152-33/+59
| | | | | | | | Prepare for GLib removal.
* | Log: move enum LogLevel to LogLevel.hxxMax Kellermann2013-12-152-36/+60
| |
* | UriUtil: add function uri_get_scheme()Max Kellermann2013-12-153-7/+20
| | | | | | | | Replaces g_uri_parse_scheme().
* | output/alsa: use new[] instead of g_malloc()Max Kellermann2013-12-141-6/+5
| |
* | playlist/soundcloud: fix coding styleMax Kellermann2013-12-141-15/+21
| |
* | playlist/soundcloud: make variables more localMax Kellermann2013-12-141-21/+17
| |
* | input/despotify: don't log "eof" flag after setting itMax Kellermann2013-12-141-1/+1
| |
* | input/despotify: convert to classMax Kellermann2013-12-141-45/+73
| |
* | decoder/flac: simplify the comment parsersMax Kellermann2013-12-141-30/+26
| |
* | decoder/flac: VorbisComment_Entry is null-terminatedMax Kellermann2013-12-141-19/+6
| | | | | | | | | | | | Don't duplicate the buffer just to null-terminate the string. According to libFLAC API documentation, the string is already null-terminated.
* | util/SplitString: new utility classMax Kellermann2013-12-144-20/+119
| | | | | | | | To replace g_strdup().
* | decoder/vorbis: remove useless castMax Kellermann2013-12-141-1/+1
| |
* | decoder/mad: use new[] instead of g_malloc()Max Kellermann2013-12-141-9/+9
| |
* | DecoderAPI: add function decoder_read_full()Max Kellermann2013-12-143-12/+31
| | | | | | | | Move code from the "mad" plugin.
* | DecoderAPI: add function decoder_skip()Max Kellermann2013-12-143-14/+25
| | | | | | | | Move code from the "mad" plugin.
* | Merge branch 'v0.18.x'Max Kellermann2013-12-147-12/+17
|\|
| * mixer/alsa: use BlockingCall() instead of EventLoop::AddCall()Max Kellermann2013-12-131-1/+2
| | | | | | | | | | This is safer, and works without epoll(). Fixes a build failure with uClibc, which does not support epoll().
| * SongUpdate: accept files without metadatamobidyc2013-12-101-2/+1
| | | | | | | | | | If the file was recognized by a decoder plugin, accept it - don't require metadata.
| * TagFile: add return value API documentationMax Kellermann2013-12-101-0/+3
| |
| * output/osx: fix build failureLukas Stabe2013-12-101-3/+3
| |
| * output/openal: check __APPLE__ instead of HAVE_OSXLukas Stabe2013-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | On OSX, the configure-flag --enable-osx is used to enable the unsupported osx output. It sets the HAVE_OSX preprocessor define. src/output/OpenALOutputPlugin.cxx uses this define to determine wether it is building on OSX, and imports different headers (which have nothing to do with the osx output) depending on wether or not it is set.
| * decoder/ffmpeg: use IgnoreError instead of local Error instanceMax Kellermann2013-11-281-5/+2
| |
| * input/cdio_paranoia: support libcdio-paranoia 0.90Gaetan Bisson2013-11-271-0/+5
| |
* | Tag: swap "base" and "add" in method Merge()Max Kellermann2013-12-131-2/+2
| | | | | | | | Fixes broken CUE sheet song tags (regression by commmit 7e8d254b).
* | CommandLine: refactor config search, use standard directory APIDenis Krjuchkov2013-12-081-41/+49
| |
* | Main: use standard directory APIDenis Krjuchkov2013-12-081-7/+4
| |
* | ConfigPath: use standard directory APIDenis Krjuchkov2013-12-081-6/+7
| |
* | fs: implemented standard directories APIDenis Krjuchkov2013-12-082-0/+358
| |
* | TextFile: move to fs subsystemDenis Krjuchkov2013-12-0811-9/+9
| |
* | util/DynamicFifoBuffer: new class replacing growing_fifoMax Kellermann2013-12-056-230/+229
| |
* | fs/FileSystem.hxx: don't define CheckAccess() with mode on WindowsDenis Krjuchkov2013-12-051-8/+2
| |
* | db/SimpleDatabasePlugin.cxx: don't use CheckAccess with mode on WindowsDenis Krjuchkov2013-12-051-2/+5
| |