Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pcm/Dither: generic sample dithering using template | Max Kellermann | 2013-12-22 | 2 | -13/+25 |
| | |||||
* | pcm/Traits: include stddef.h for size_t | Max Kellermann | 2013-12-22 | 1 | -0/+1 |
| | |||||
* | pcm/Traits: add MIN and MAX | Max Kellermann | 2013-12-22 | 2 | -9/+28 |
| | | | | Move from PcmClamp(). | ||||
* | pcm/Volume: add constant PCM_VOLUME_BITS | Max Kellermann | 2013-12-22 | 2 | -1/+6 |
| | |||||
* | pcm/Volume: make PCM_VOLUME_1 a "constexpr" | Max Kellermann | 2013-12-22 | 3 | -13/+13 |
| | |||||
* | pcm/Prng: make pcm_prng() inline | Max Kellermann | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | util/Clamp: generic Clamp() function | Max Kellermann | 2013-12-22 | 3 | -3/+53 |
| | |||||
* | event/PollGroupPoll: include stddef.h instead of string.h | Max Kellermann | 2013-12-21 | 1 | -1/+2 |
| | |||||
* | input/alsa: fix build with gcc 4.6 | Max Kellermann | 2013-12-21 | 1 | -12/+12 |
| | |||||
* | add draft ALSA input plugin | Steven O'Brien | 2013-12-19 | 4 | -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 typo | Max Kellermann | 2013-12-19 | 1 | -1/+1 |
| | |||||
* | util/fifo_buffer: remove obsolete library | Max Kellermann | 2013-12-19 | 3 | -383/+0 |
| | |||||
* | output/osx: use DynamicFifoBuffer instead of struct fifo_buffer | Max Kellermann | 2013-12-19 | 1 | -26/+21 |
| | |||||
* | util/PeakBuffer: use IsEmpty() instead of IsNull() | Max Kellermann | 2013-12-19 | 2 | -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-clause | Max Kellermann | 2013-12-16 | 3 | -43/+73 |
| | |||||
* | util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_buffer | Max Kellermann | 2013-12-15 | 3 | -48/+36 |
| | | | | Switch to the C++ version. | ||||
* | util/PeakBuffer: return ConstBuffer<void> | Max Kellermann | 2013-12-15 | 3 | -11/+16 |
| | |||||
* | util/WritableBuffer: add cast methods | Max Kellermann | 2013-12-15 | 1 | -1/+30 |
| | |||||
* | util/WritableBuffer: fix indent | Max Kellermann | 2013-12-15 | 1 | -31/+31 |
| | |||||
* | util/DynamicFifoBuffer: make constructor "explicit" | Max Kellermann | 2013-12-15 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-15 | 1 | -1/+13 |
|\ | |||||
| * | mixer/alsa: fix deadlock | Max Kellermann | 2013-12-15 | 1 | -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 Kellermann | 2013-12-15 | 6 | -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 Kellermann | 2013-12-15 | 1 | -5/+3 |
| | | |||||
* | | util/Tokenizer, ...: include cleanup | Max Kellermann | 2013-12-15 | 6 | -12/+0 |
| | | |||||
* | | system/SocketError, ...: use strerror() instead of g_strerror() | Max Kellermann | 2013-12-15 | 4 | -9/+14 |
| | | | | | | | | Avoid GLib. | ||||
* | | LogInit: move backend code to LogBackend.cxx | Max Kellermann | 2013-12-15 | 3 | -175/+206 |
| | | |||||
* | | Log: move Log() to LogBackend.cxx | Max Kellermann | 2013-12-15 | 2 | -33/+59 |
| | | | | | | | | Prepare for GLib removal. | ||||
* | | Log: move enum LogLevel to LogLevel.hxx | Max Kellermann | 2013-12-15 | 2 | -36/+60 |
| | | |||||
* | | UriUtil: add function uri_get_scheme() | Max Kellermann | 2013-12-15 | 3 | -7/+20 |
| | | | | | | | | Replaces g_uri_parse_scheme(). | ||||
* | | output/alsa: use new[] instead of g_malloc() | Max Kellermann | 2013-12-14 | 1 | -6/+5 |
| | | |||||
* | | playlist/soundcloud: fix coding style | Max Kellermann | 2013-12-14 | 1 | -15/+21 |
| | | |||||
* | | playlist/soundcloud: make variables more local | Max Kellermann | 2013-12-14 | 1 | -21/+17 |
| | | |||||
* | | input/despotify: don't log "eof" flag after setting it | Max Kellermann | 2013-12-14 | 1 | -1/+1 |
| | | |||||
* | | input/despotify: convert to class | Max Kellermann | 2013-12-14 | 1 | -45/+73 |
| | | |||||
* | | decoder/flac: simplify the comment parsers | Max Kellermann | 2013-12-14 | 1 | -30/+26 |
| | | |||||
* | | decoder/flac: VorbisComment_Entry is null-terminated | Max Kellermann | 2013-12-14 | 1 | -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 class | Max Kellermann | 2013-12-14 | 4 | -20/+119 |
| | | | | | | | | To replace g_strdup(). | ||||
* | | decoder/vorbis: remove useless cast | Max Kellermann | 2013-12-14 | 1 | -1/+1 |
| | | |||||
* | | decoder/mad: use new[] instead of g_malloc() | Max Kellermann | 2013-12-14 | 1 | -9/+9 |
| | | |||||
* | | DecoderAPI: add function decoder_read_full() | Max Kellermann | 2013-12-14 | 3 | -12/+31 |
| | | | | | | | | Move code from the "mad" plugin. | ||||
* | | DecoderAPI: add function decoder_skip() | Max Kellermann | 2013-12-14 | 3 | -14/+25 |
| | | | | | | | | Move code from the "mad" plugin. | ||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-14 | 7 | -12/+17 |
|\| | |||||
| * | mixer/alsa: use BlockingCall() instead of EventLoop::AddCall() | Max Kellermann | 2013-12-13 | 1 | -1/+2 |
| | | | | | | | | | | This is safer, and works without epoll(). Fixes a build failure with uClibc, which does not support epoll(). | ||||
| * | SongUpdate: accept files without metadata | mobidyc | 2013-12-10 | 1 | -2/+1 |
| | | | | | | | | | | If the file was recognized by a decoder plugin, accept it - don't require metadata. | ||||
| * | TagFile: add return value API documentation | Max Kellermann | 2013-12-10 | 1 | -0/+3 |
| | | |||||
| * | output/osx: fix build failure | Lukas Stabe | 2013-12-10 | 1 | -3/+3 |
| | | |||||
| * | output/openal: check __APPLE__ instead of HAVE_OSX | Lukas Stabe | 2013-12-02 | 1 | -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 instance | Max Kellermann | 2013-11-28 | 1 | -5/+2 |
| | | |||||
| * | input/cdio_paranoia: support libcdio-paranoia 0.90 | Gaetan Bisson | 2013-11-27 | 1 | -0/+5 |
| | |