Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-06-22 | decoder/vorbis: check STOP before entering the loop | Max Kellermann | 1 | -2/+2 | |
2015-06-22 | OutputThread: move code to CloseOutput() | Max Kellermann | 2 | -6/+19 | |
2015-06-22 | lib/ffmpeg/Buffer: add "malloc" attribute | Max Kellermann | 1 | -0/+1 | |
2015-06-22 | InputStream: add ReadFull method | Thomas Guillem | 2 | -1/+49 | |
Convenient method that behave differently than Read, and that will be used by tag scanners. This method will return in case of error, if the whole data is read or is EOF is reached. | |||||
2015-06-21 | PlayerThread: start the decoder on PlayerCommand::QUEUE | Max Kellermann | 1 | -0/+6 | |
Fixes missing SongBorder() call, which causes "single" mode breakage. | |||||
2015-06-21 | DecoderAPI: discard unused song tag early | Max Kellermann | 1 | -2/+5 | |
If there's a stream tag, don't let the song tag override it in the next update_stream_tag() call. | |||||
2015-06-21 | DecoderThread: set Decoder::song_tag only for local files | Max Kellermann | 1 | -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. | |||||
2015-06-20 | DecoderAPI: "move" the Tag object | Max Kellermann | 1 | -1/+1 | |
Reduce runtime overhead. | |||||
2015-06-20 | OutputControl: fix fail_timer check right after booting | Romain Rollet | 1 | -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. | |||||
2015-06-20 | system/PeriodClock: make IsDefined() "constexpr" | Max Kellermann | 1 | -1/+1 | |
2015-06-20 | pcm/soxr: fix recipe parser | Max Kellermann | 1 | -1/+1 | |
2015-06-20 | decoder/ffmpeg: skip unwanted samples after seeking | Max Kellermann | 1 | -5/+48 | |
When seeking to the beginning of a packet, skip the samples that come before the desired time stamp. | |||||
2015-06-20 | decoder/ffmpeg: use AVSEEK_FLAG_BACKWARD for seeking | Max Kellermann | 1 | -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. | |||||
2015-06-19 | decoder/ffmpeg: move code to StreamRelativePts() | Max Kellermann | 1 | -6/+20 | |
2015-06-19 | input/curl: trigger the condition variable in RequestDone() | Max Kellermann | 1 | -0/+2 | |
Fixes deadlock on small responses. | |||||
2015-05-29 | storage/nfs: fix deadlock when connecting | Thomas Guillem | 1 | -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. | |||||
2015-05-29 | input/smbclient: fix DFF playback | jai | 1 | -0/+1 | |
2015-03-25 | OpusEncoderPlugin: initialise granulepos so we end up with sane values | Michal Nazarewicz | 1 | -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. | |||||
2015-03-25 | db/update/ExcludeList: use the NarrowPath class | Max Kellermann | 1 | -1/+2 | |
2015-03-25 | fs/io/FileOutputStream: fix wrong #ifdef WIN32 | Max Kellermann | 1 | -23/+3 | |
2015-03-24 | Playlist*: use the BufferedOutputStream API instead of FILE* | Max Kellermann | 3 | -38/+36 | |
2015-03-24 | PlaylistSave: return bool/Error instead of PlaylistResult | Max Kellermann | 3 | -24/+28 | |
2015-03-24 | PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError() | Max Kellermann | 2 | -2/+9 | |
2015-03-24 | PlaylistFile: eliminate redundant spl_map() calls | Max Kellermann | 1 | -15/+0 | |
2015-03-24 | Mapper: don't use C-style prototypes | Max Kellermann | 2 | -3/+5 | |
2015-03-24 | fs/io/FileOutputStream: add method Tell() | Max Kellermann | 2 | -0/+20 | |
2015-03-24 | fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctor | Max Kellermann | 2 | -0/+12 | |
2015-03-24 | system/FileDescriptor: add method Tell() | Max Kellermann | 1 | -0/+5 | |
2015-03-23 | fs/io/FileOutputStream: add class AppendFileOutputStream | Max Kellermann | 2 | -0/+67 | |
2015-03-23 | fs/io/FileOutputStream: move code to new class BaseFileOutputStream | Max Kellermann | 2 | -49/+101 | |
2015-03-23 | fs/io/FileOutputStream: make "path" const | Max Kellermann | 1 | -1/+1 | |
2015-03-23 | fs/io/BufferedOutputStream: add code comments | Max Kellermann | 2 | -0/+23 | |
2015-03-21 | Main: notify systemd when MPD is ready | Max Kellermann | 1 | -0/+8 | |
2015-03-17 | *: doxygen fixups | Max Kellermann | 36 | -105/+54 | |
2015-03-05 | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 7 | -5/+113 | |
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | |||||
2015-03-05 | output/recorder: convert path to UTF-8 for logging | Max Kellermann | 1 | -1/+2 | |
2015-03-05 | fs/NarrowPath: new utility class | Max Kellermann | 3 | -4/+55 | |
2015-03-05 | output/winmm: convert device name to filesystem charset | Max Kellermann | 1 | -1/+7 | |
2015-03-05 | output/winmm: eliminate "goto" | Max Kellermann | 1 | -3/+7 | |
2015-03-05 | fs/Path: reimplement GetSuffix() using GetBase() and StringFindLast() | Max Kellermann | 1 | -1/+7 | |
2015-03-05 | PlaylistStream: convert suffix to UTF-8 | Max Kellermann | 1 | -3/+8 | |
2015-03-05 | TagFile: convert suffix to UTF-8 | Max Kellermann | 1 | -2/+4 | |
2015-03-05 | fs/File{System,Info}: fix regular file check | Max Kellermann | 2 | -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). | |||||
2015-03-05 | fs/Path: use the "const_pointer" typedef | Max Kellermann | 2 | -2/+2 | |
2015-03-05 | event/ServerSocket: #ifdef out local socket support on Windows | Max Kellermann | 1 | -0/+8 | |
2015-03-05 | util/StringUtil: add wchar_t overloads | Max Kellermann | 3 | -0/+105 | |
2015-03-05 | util/StringAPI: add wchar_t overloads | Max Kellermann | 2 | -0/+138 | |
2015-03-05 | fs/Traits: use TCHAR on Windows | Max Kellermann | 2 | -0/+21 | |
2015-03-05 | fs/Traits: add macro PATH_LITERAL() | Max Kellermann | 9 | -14/+18 | |
2015-03-05 | fs/Traits: use string.h API wrappers | Max Kellermann | 2 | -16/+137 | |