Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-08 | DespotifyUtils: return Tag, not pointer | Max Kellermann | 1 | -5/+6 | |
2014-01-08 | DespotifyUtils: pass const ds_track reference | Max Kellermann | 1 | -1/+1 | |
2014-01-08 | tag/TagBuilder: overload Commit() returning a Tag object | Max Kellermann | 1 | -1/+1 | |
2014-01-08 | tag/TagBuilder: rename Commit() to CommitNew() | Max Kellermann | 1 | -1/+1 | |
2014-01-08 | input/AlsaInputPlugin: remove unnecessary alsa s/w param setting to fix high ↵ | Steven O'Brien | 1 | -9/+0 | |
CPU load issue | |||||
2014-01-07 | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | 1 | -6/+7 | |
2014-01-06 | input/AlsaInputPlugin.cxx: use I/O thread to poll for available data | Steven O'Brien | 1 | -55/+289 | |
[mk: modified to use MultiSocketMonitor instead of SocketMonitor] | |||||
2014-01-06 | event/SocketMonitor: don't close the socket automatically | Max Kellermann | 1 | -2/+0 | |
Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often. | |||||
2013-12-29 | input/smbclient: new input plugin | Max Kellermann | 2 | -0/+228 | |
2013-12-21 | input/alsa: fix build with gcc 4.6 | Max Kellermann | 1 | -12/+12 | |
2013-12-19 | add draft ALSA input plugin | Steven O'Brien | 2 | -0/+234 | |
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 | |||||
2013-12-17 | input/cdio: fix typo in #include path | Max Kellermann | 1 | -1/+1 | |
Broken by commit 3b0fea5f | |||||
2013-12-14 | input/despotify: don't log "eof" flag after setting it | Max Kellermann | 1 | -1/+1 | |
2013-12-14 | input/despotify: convert to class | Max Kellermann | 1 | -45/+73 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2 | -2/+2 | |
2013-12-03 | input/curl: use class TagBuilder | Max Kellermann | 1 | -4/+10 | |
2013-11-28 | Util/StringUtil: add StringStartsWith() | Max Kellermann | 4 | -17/+16 | |
Replaces GLib's g_str_has_prefix(). | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 5 | -8/+0 | |
2013-11-27 | input/cdio_paranoia: support libcdio-paranoia 0.90 | Gaetan Bisson | 1 | -0/+5 | |
2013-11-23 | input/curl: work around stream resume bug (fixed in libcurl 7.32.0) | Max Kellermann | 1 | -0/+17 | |
2013-11-23 | input/curl: add global variable "curl_version" | Max Kellermann | 1 | -0/+7 | |
2013-11-23 | input/curl: dump version number | Max Kellermann | 1 | -0/+8 | |
2013-11-07 | input/cdio_paranoia: add setting "default_byte_order" | Max Kellermann | 1 | -2/+26 | |
Allows big-endian users to configure the fallback byte order to little-endian. Without this setting, MPD assumes native byte order if the CD drive can't decide. | |||||
2013-11-07 | input/curl: unregister removed sockets from epoll | Max Kellermann | 1 | -1/+9 | |
Fixes a crash bug. See code comment. | |||||
2013-11-06 | input/curl: fix bug with redirected streams | Max Kellermann | 1 | -110/+138 | |
Migrate from the old curl_multi_perform() API to the newer curl_multi_socket_action() API (since CURL 7.16). This allows working around a bug with HTTP redirections with epoll: when CURL closes a socket and the new one happens to have the same file number, MPD did not have a chance to remove the old one from epoll and subsequently attempted to use EPOLL_CTL_MOD, which was not allowed by epoll, because it's a new socket now. | |||||
2013-11-06 | input/curl: move code into class CurlMulti | Max Kellermann | 1 | -43/+66 | |
Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit. | |||||
2013-11-06 | input/curl: remove the global list of requests | Max Kellermann | 1 | -13/+0 | |
Unused. | |||||
2013-11-06 | input/curl: don't abort all requests on curl_multi_perform() error | Max Kellermann | 1 | -40/+7 | |
Eliminate some complicated code that's not worth the trouble. | |||||
2013-11-06 | input/curl: use CURLOPT_PRIVATE | Max Kellermann | 1 | -5/+7 | |
Replaces the loop in input_curl_find_request(). | |||||
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 2 | -2/+2 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 3 | -14/+14 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 9 | -59/+59 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 7 | -7/+0 | |
2013-10-21 | input/curl: don't use GLib's typedef "gushort" | Max Kellermann | 1 | -1/+2 | |
2013-10-21 | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 1 | -3/+3 | |
2013-10-20 | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 1 | -7/+8 | |
Replaces GLib's g_ascii_strcasecmp(). | |||||
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -34/+34 | |
2013-10-19 | input/cdio: use class AllocatedPath | Max Kellermann | 1 | -10/+9 | |
2013-10-19 | input/curl: use std::string for meta_name | Max Kellermann | 1 | -9/+5 | |
Automatic memory management. | |||||
2013-10-19 | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 1 | -9/+7 | |
2013-10-19 | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 1 | -2/+3 | |
2013-10-18 | input/curl: use MultiSocketMonitor constants instead of GLib | Max Kellermann | 1 | -3/+6 | |
2013-10-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 2 | -4/+4 | |
2013-10-17 | InputStream: use int64_t instead of goffset | Max Kellermann | 5 | -10/+17 | |
Decouple some more from GLib. | |||||
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 15 | -19/+17 | |
2013-10-17 | ArchiveLookup: return const strings | Max Kellermann | 1 | -2/+2 | |
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 1 | -2/+3 | |
Replacing GLib macros. | |||||
2013-10-15 | Archive*: move archive_domain to ArchiveDomain.cxx | Max Kellermann | 1 | -3/+1 | |
Merge duplicate symbol. | |||||
2013-10-15 | input/*: don't allocate attribute "mime" | Max Kellermann | 4 | -6/+6 | |
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer. | |||||
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 2 | -2/+4 | |