Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/AllocatedString: add method empty() | Max Kellermann | 2015-06-25 | 1 | -0/+4 |
| | |||||
* | SongFilter: add assertion to StringMatch() | Max Kellermann | 2015-06-25 | 1 | -0/+2 |
| | |||||
* | SongFilter: return "const char *" instead of std::string | Max Kellermann | 2015-06-25 | 5 | -15/+18 |
| | |||||
* | lib/icu/Collate: fall back to strxfrm() | Max Kellermann | 2015-06-25 | 1 | -2/+16 |
| | |||||
* | lib/icu/Collate: fix indent | Max Kellermann | 2015-06-25 | 1 | -3/+3 |
| | |||||
* | lib/icu/Collate: fall back to strcoll() instead of strcasecmp() | Max Kellermann | 2015-06-23 | 2 | -1/+2 |
| | |||||
* | lib/icu/Collate: use CompareStringEx() on Windows | Max Kellermann | 2015-06-23 | 1 | -0/+26 |
| | |||||
* | fs/NarrowPath: use the WideCharToMultiByte() wrapper | Max Kellermann | 2015-06-23 | 1 | -14/+16 |
| | |||||
* | lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar() | Max Kellermann | 2015-06-23 | 3 | -28/+106 |
| | |||||
* | util/AllocatedString: remove bogus code from operator= | Max Kellermann | 2015-06-23 | 1 | -1/+0 |
| | |||||
* | util/AllocatedString: new utility class | Max Kellermann | 2015-06-23 | 1 | -0/+100 |
| | |||||
* | fs/Path: include cleanup | Max Kellermann | 2015-06-23 | 1 | -1/+0 |
| | |||||
* | fs/Path: use base class StringPointer | Max Kellermann | 2015-06-23 | 2 | -12/+10 |
| | |||||
* | util/StringPointer: new utility class | Max Kellermann | 2015-06-23 | 1 | -0/+64 |
| | |||||
* | fs/Path: use method c_str() internally | Max Kellermann | 2015-06-23 | 1 | -5/+5 |
| | |||||
* | fs/Config: remove charset auto-detection via GLib | Max Kellermann | 2015-06-22 | 1 | -14/+0 |
| | | | | The default is always UTF-8. | ||||
* | LogBackend: remove character set support | Max Kellermann | 2015-06-22 | 3 | -57/+0 |
| | | | | Always write UTF-8 to the log file. | ||||
* | fs/Charset: hard-code Windows to ACP | Max Kellermann | 2015-06-22 | 3 | -15/+5 |
| | | | | | | Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway. | ||||
* | fs/Glob: use PathMatchSpec() on Windows | Max Kellermann | 2015-06-22 | 1 | -2/+8 |
| | |||||
* | fs/Glob: use fnmatch() if available | Max Kellermann | 2015-06-22 | 1 | -1/+21 |
| | |||||
* | fs/Glob: make constructor "explicit" | Max Kellermann | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | db/update/ExcludeList: remove obsolete TODO comments | Max Kellermann | 2015-06-22 | 2 | -5/+3 |
| | |||||
* | db/update/ExcludeList: move class Pattern to fs/Glob.hxx | Max Kellermann | 2015-06-22 | 3 | -31/+69 |
| | |||||
* | pcm/Interleave: add stereo optimization | Max Kellermann | 2015-06-22 | 1 | -0/+19 |
| | |||||
* | pcm/Interleave: instantiate a 16 bit optimization | Max Kellermann | 2015-06-22 | 1 | -0/+15 |
| | |||||
* | pcm/Interleave: convert PcmInterleave32() to template | Max Kellermann | 2015-06-22 | 1 | -4/+13 |
| | |||||
* | pcm/Interleave: add optimization for 32 bit samples | Max Kellermann | 2015-06-22 | 3 | -12/+51 |
| | | | | Move code from the "vorbis" decoder. | ||||
* | pcm/Interleave: add "restrict" keywords | Max Kellermann | 2015-06-22 | 2 | -3/+6 |
| | |||||
* | decoder/ffmpeg: move code to pcm/Interleave.cxx | Max Kellermann | 2015-06-22 | 3 | -19/+86 |
| | |||||
* | decoder/ffmpeg: check for commands earlier | Max Kellermann | 2015-06-22 | 1 | -22/+22 |
| | | | | | Improve initial seek by not reading/decoding the first frame before checking for the seek command. | ||||
* | 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 |
| | |