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