aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'v0.19.10'Max Kellermann2015-06-2110-16/+93
|\
| * PlayerThread: start the decoder on PlayerCommand::QUEUEMax Kellermann2015-06-211-0/+6
| | | | | | | | Fixes missing SongBorder() call, which causes "single" mode breakage.
| * DecoderAPI: discard unused song tag earlyMax Kellermann2015-06-211-2/+5
| | | | | | | | | | If there's a stream tag, don't let the song tag override it in the next update_stream_tag() call.
| * DecoderThread: set Decoder::song_tag only for local filesMax Kellermann2015-06-211-1/+5
| | | | | | | | | | | | | | If the song tag comes from a stream, and MPD playback restarts, MPD would believe the tag should override the newly received tag. This makes the previous tag appear stuck. This change passes the song tag only if it's authoritative - i.e. if it's a song file.
| * DecoderAPI: "move" the Tag objectMax Kellermann2015-06-201-1/+1
| | | | | | | | Reduce runtime overhead.
| * OutputControl: fix fail_timer check right after bootingRomain Rollet2015-06-201-1/+2
| | | | | | | | | | | | Right after booting, the monotonic clock starts with a very small value, and AudioOutput::LockUpdate() may believe that the fail_timer has not recovered yet.
| * system/PeriodClock: make IsDefined() "constexpr"Max Kellermann2015-06-201-1/+1
| |
| * decoder/ffmpeg: skip unwanted samples after seekingMax Kellermann2015-06-201-5/+48
| | | | | | | | | | When seeking to the beginning of a packet, skip the samples that come before the desired time stamp.
| * decoder/ffmpeg: use AVSEEK_FLAG_BACKWARD for seekingMax Kellermann2015-06-201-1/+5
| | | | | | | | | | | | Ask FFmpeg to seek to the next packet boundary *before* the seek position, so we don't miss audio data. Now we get too much, but we'll solve that in the next commit.
| * decoder/ffmpeg: move code to StreamRelativePts()Max Kellermann2015-06-191-6/+20
| |
| * input/curl: trigger the condition variable in RequestDone()Max Kellermann2015-06-191-0/+2
| | | | | | | | Fixes deadlock on small responses.
| * storage/nfs: fix deadlock when connectingThomas Guillem2015-05-291-2/+2
| | | | | | | | | | | | The Connect method can be called between Schedule and lock. In that case, when locked, the state is already set to CONNECTING of READY and the condition won't be signaled anymore.
| * input/smbclient: fix DFF playbackjai2015-05-291-0/+1
| |
| * OpusEncoderPlugin: initialise granulepos so we end up with sane valuesMichal Nazarewicz2015-03-251-1/+1
| | | | | | | | | | | | | | Not initialising granulepos leads to it having arbitrary values in the encoded stream including possibly negative values which are not valid and confuse opusdec. Explicitly initialise opus_encoder::granulepos to avoid that problem.
* | pcm/soxr: fix recipe parserMax Kellermann2015-06-201-1/+1
| |
* | db/update/ExcludeList: use the NarrowPath classMax Kellermann2015-03-251-1/+2
| |
* | fs/io/FileOutputStream: fix wrong #ifdef WIN32Max Kellermann2015-03-251-23/+3
| |
* | Playlist*: use the BufferedOutputStream API instead of FILE*Max Kellermann2015-03-243-38/+36
| |
* | PlaylistSave: return bool/Error instead of PlaylistResultMax Kellermann2015-03-243-24/+28
| |
* | PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError()Max Kellermann2015-03-242-2/+9
| |
* | PlaylistFile: eliminate redundant spl_map() callsMax Kellermann2015-03-241-15/+0
| |
* | Mapper: don't use C-style prototypesMax Kellermann2015-03-242-3/+5
| |
* | fs/io/FileOutputStream: add method Tell()Max Kellermann2015-03-242-0/+20
| |
* | fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctorMax Kellermann2015-03-242-0/+12
| |
* | system/FileDescriptor: add method Tell()Max Kellermann2015-03-241-0/+5
| |
* | fs/io/FileOutputStream: add class AppendFileOutputStreamMax Kellermann2015-03-232-0/+67
| |
* | fs/io/FileOutputStream: move code to new class BaseFileOutputStreamMax Kellermann2015-03-232-49/+101
| |
* | fs/io/FileOutputStream: make "path" constMax Kellermann2015-03-231-1/+1
| |
* | fs/io/BufferedOutputStream: add code commentsMax Kellermann2015-03-232-0/+23
| |
* | Main: notify systemd when MPD is readyMax Kellermann2015-03-211-0/+8
| |
* | *: doxygen fixupsMax Kellermann2015-03-1736-105/+54
| |
* | fs/Traits: enable _UNICODE on WindowsMax Kellermann2015-03-057-5/+113
| | | | | | | | | | Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
* | output/recorder: convert path to UTF-8 for loggingMax Kellermann2015-03-051-1/+2
| |
* | fs/NarrowPath: new utility classMax Kellermann2015-03-053-4/+55
| |
* | output/winmm: convert device name to filesystem charsetMax Kellermann2015-03-051-1/+7
| |
* | output/winmm: eliminate "goto"Max Kellermann2015-03-051-3/+7
| |
* | fs/Path: reimplement GetSuffix() using GetBase() and StringFindLast()Max Kellermann2015-03-051-1/+7
| |
* | PlaylistStream: convert suffix to UTF-8Max Kellermann2015-03-051-3/+8
| |
* | TagFile: convert suffix to UTF-8Max Kellermann2015-03-051-2/+4
| |
* | fs/File{System,Info}: fix regular file checkMax Kellermann2015-03-052-2/+4
| | | | | | | | | | | | Don't use FILE_ATTRIBUTE_NORMAL, it's a "magic" value for something else. To check if a file is a regular file, we need to check if it's NOT a directory (or a device).
* | fs/Path: use the "const_pointer" typedefMax Kellermann2015-03-052-2/+2
| |
* | event/ServerSocket: #ifdef out local socket support on WindowsMax Kellermann2015-03-051-0/+8
| |
* | util/StringUtil: add wchar_t overloadsMax Kellermann2015-03-053-0/+105
| |
* | util/StringAPI: add wchar_t overloadsMax Kellermann2015-03-052-0/+138
| |
* | fs/Traits: use TCHAR on WindowsMax Kellermann2015-03-052-0/+21
| |
* | fs/Traits: add macro PATH_LITERAL()Max Kellermann2015-03-059-14/+18
| |
* | fs/Traits: use string.h API wrappersMax Kellermann2015-03-052-16/+137
| |
* | input/Open: convert UTF-8 to filesystem charset for OpenLocalInputStream()Max Kellermann2015-03-051-3/+8
| |
* | input/Open: use PathTraitsUTF8 to check UTF-8 pathMax Kellermann2015-03-051-1/+1
| |
* | db/Configured: convert path to UTF-8 before injecting into configurationMax Kellermann2015-03-051-1/+4
| |