Max Kellermann
|
afc70c120e
|
util/UriUtil: uri_get_suffix() fails if name begins with dot
A file called ".jpg" is not a JPEG file with an empty name; it is
merely a hidden file.
|
2013-12-29 17:40:51 +01:00 |
Max Kellermann
|
da29298d4d
|
pcm/PcmMix: improved dithering
Use the existing PcmDither library.
|
2013-12-28 18:30:27 +01:00 |
Max Kellermann
|
afcf0795c4
|
pcm/Volume: improved dithering
Instead of just adding a rectangular random value before shifting back
to the normal scale, use the existing PcmDither library.
|
2013-12-28 18:30:24 +01:00 |
Max Kellermann
|
394e2815db
|
pcm/PcmDither: inline Dither24To16() and Dither32To16()
|
2013-12-28 18:30:13 +01:00 |
Max Kellermann
|
1ad52f131c
|
test/*: use fprintf(stderr,...) and Log() instead of g_printerr()
Avoid GLib.
|
2013-12-24 14:44:08 +01:00 |
Max Kellermann
|
8064bbbc3f
|
test/*: remove GLib logging setup
Obsolete, our logging library doesn't ues GLib anymore.
|
2013-12-24 14:13:03 +01:00 |
Max Kellermann
|
8edde7a4b3
|
pcm/Volume: convert to class
Prepare for adding state.
|
2013-12-23 10:58:37 +01:00 |
Max Kellermann
|
6d21b9448a
|
pcm/PcmVolume: rename to Volume.cxx
|
2013-12-23 10:35:21 +01:00 |
Max Kellermann
|
66d90dd412
|
test/*: use fprintf(stderr,...) and Log() instead of g_printerr()
Avoid GLib.
|
2013-12-15 18:52:13 +01:00 |
Max Kellermann
|
d5dfe7d457
|
configure.ac: add option "--disable-glib"
Allows building without GLib. This fails to compile currently,
because GLib is still used in the MPD core.
|
2013-12-15 18:43:12 +01:00 |
Max Kellermann
|
d37b788ea8
|
DecoderAPI: add function decoder_read_full()
Move code from the "mad" plugin.
|
2013-12-14 12:43:06 +01:00 |
Max Kellermann
|
cb336ff666
|
DecoderAPI: add function decoder_skip()
Move code from the "mad" plugin.
|
2013-12-14 12:40:43 +01:00 |
Max Kellermann
|
e2e5433beb
|
test: merge duplicate code to FakeDecoderAPI.cxx
|
2013-12-14 12:40:24 +01:00 |
Max Kellermann
|
9f3bead99f
|
test/run_encoder: destruct the Encoder before exiting
|
2013-12-05 11:49:21 +01:00 |
Max Kellermann
|
e1901e97c2
|
system/Resolver: sockaddr_to_string() returns std::string()
No GLib memory allocation.
|
2013-12-04 08:43:55 +01:00 |
Max Kellermann
|
8a5209ad93
|
Tag: remove method AddItem()
Use class TagBuilder instead.
|
2013-12-03 13:15:42 +01:00 |
Max Kellermann
|
2b44a2c9bd
|
pcm/PcmChannels: use struct ConstBuffer
|
2013-12-02 11:21:32 +01:00 |
Max Kellermann
|
d2679f59c5
|
PcmConvert: add methods Open(), Close()
Replaces Reset() and eliminates the AudioFormat parameters from the
Convert() method.
|
2013-11-13 21:06:33 +01:00 |
Max Kellermann
|
287c70e361
|
filter/route, ...: add missing stdlib.h includes
|
2013-11-11 08:20:09 +01:00 |
Max Kellermann
|
b631b552bb
|
test/*: add more missing stdlib.h includes
|
2013-11-05 17:28:23 +01:00 |
Max Kellermann
|
39257717d8
|
test/test_mixramp: add threshold to floating point comparisons
Fixes bogus test failures on Debian build machines due to rounding
errors (hopefully).
|
2013-11-04 22:08:59 +01:00 |
Max Kellermann
|
c6f101884b
|
CrossFade: use negative value for invalid MixRamp overlap
Avoid NaN to allow -ffast-math.
|
2013-10-30 17:20:12 +01:00 |
Max Kellermann
|
c0c0526fc8
|
test/test_mixramp: improved test for mixramp_interpolate(0)
|
2013-10-30 17:18:54 +01:00 |
Max Kellermann
|
375c88b110
|
test/test_mixramp: add test with "invalid" return value
|
2013-10-30 17:14:40 +01:00 |
Max Kellermann
|
5b5675cc12
|
player_control: rename to PlayerControl
|
2013-10-28 10:12:33 +01:00 |
Max Kellermann
|
a40246d312
|
TagFile: use Path instead of const char *
|
2013-10-26 15:38:29 +02:00 |
Max Kellermann
|
85ae7e9c9a
|
DecoderControl: move code/attributes to new class MixRampInfo
|
2013-10-26 14:19:34 +02:00 |
Max Kellermann
|
de862f9f1b
|
test/test_mixramp: unit test for mixramp_interpolate()
|
2013-10-26 13:49:15 +02:00 |
Max Kellermann
|
d6e28c42e5
|
ReplayGainInfo: refactor to a class
|
2013-10-25 19:12:46 +02:00 |
Max Kellermann
|
6d475c40de
|
ReplayGainInfo: use CamelCase for struct name
|
2013-10-25 19:12:38 +02:00 |
Max Kellermann
|
645cb5833d
|
test/run_decoder: print the song duration
|
2013-10-24 21:35:05 +02:00 |
Max Kellermann
|
93deb84499
|
input_stream: rename struct to InputStream
|
2013-10-23 23:12:02 +02:00 |
Max Kellermann
|
3d12f8d246
|
UriUtil: uri_remove_auth() returns std::string
|
2013-10-23 21:58:44 +02:00 |
Max Kellermann
|
c3e720279c
|
test/test_util: unit test for libutil.a
|
2013-10-23 21:58:44 +02:00 |
Max Kellermann
|
82059645f1
|
decoder: rename the struct to "Decoder"
|
2013-10-21 21:12:37 +02:00 |
Max Kellermann
|
13e9f18403
|
DecoderPlugin: move functions into the struct
|
2013-10-21 21:08:12 +02:00 |
Max Kellermann
|
72af3c0489
|
decoder_plugin: rename struct to DecoderPlugin
|
2013-10-21 20:31:34 +02:00 |
Max Kellermann
|
3315c67f0f
|
Inotify: convert anonymous enum to constexpr
|
2013-10-20 13:51:55 +02:00 |
Max Kellermann
|
a78b2d84ed
|
TagType: rename enum tag_type to TagType
|
2013-10-20 13:32:59 +02:00 |
Max Kellermann
|
ff626ac763
|
*: use references instead of pointers
|
2013-10-19 18:48:38 +02:00 |
Max Kellermann
|
7cb803ad5c
|
test/test_pcm: use C++11 random instead of GLib
|
2013-10-19 15:05:48 +02:00 |
Max Kellermann
|
964aa42b04
|
test/run_avahi: new debug program
|
2013-10-18 09:01:34 +02:00 |
Max Kellermann
|
bf8660b21c
|
test/run_inotify: use SignalMonitor
|
2013-10-18 08:56:25 +02:00 |
Max Kellermann
|
7c1cf61728
|
thread/{Cond,Mutex}: use "class" instead of "typedef"
Allows forward-declaration.
|
2013-10-17 10:06:31 +02:00 |
Max Kellermann
|
1b8a1d4140
|
ArchiveLookup: return const strings
|
2013-10-17 00:36:52 +02:00 |
Max Kellermann
|
3dbda2dda2
|
test/test_archive: unit test for archive_lookup()
|
2013-10-17 00:19:22 +02:00 |
Max Kellermann
|
401a799a1b
|
test: use the CPPUNIT framework for unit tests
|
2013-10-16 23:36:36 +02:00 |
Max Kellermann
|
5e26e2ab1d
|
system/ByteOrder: new library for byte ordering / endianess
Replacing GLib macros.
|
2013-10-16 22:09:44 +02:00 |
Max Kellermann
|
6b2b5af344
|
util/byte_reverse: convert to C++
|
2013-10-16 22:07:52 +02:00 |
Max Kellermann
|
f32fbd9ed1
|
pcm_pack: convert to C++
|
2013-10-16 22:07:43 +02:00 |
Max Kellermann
|
7de96275dd
|
ConfigData: use std::string for config_param::value
|
2013-10-15 22:49:01 +02:00 |
Max Kellermann
|
509f8dab89
|
Util/Macros: replacement for GLib's G_N_ELEMENTS()
|
2013-10-15 22:47:39 +02:00 |
Max Kellermann
|
84d20d9e43
|
util/FifoBuffer: C++ version of the fifo_buffer library
|
2013-10-15 10:28:52 +02:00 |
Max Kellermann
|
be2951b45f
|
gcc.h: rename to Compiler.h
|
2013-10-15 09:21:59 +02:00 |
Max Kellermann
|
17c6db6c33
|
replay_gain_*.h: rename to *.hxx
|
2013-10-02 12:22:12 +02:00 |
Max Kellermann
|
060814daa8
|
Log: new logging library API
Prepare to migrate away from GLib. Currently, we're still using GLib
as a backend.
|
2013-10-02 08:57:55 +02:00 |
Max Kellermann
|
c2d3ed2acc
|
Listen, ...: add missing includes
|
2013-10-02 08:56:27 +02:00 |
Max Kellermann
|
c5d05ac0cf
|
DecoderCommand: convert to strictly-typed enum
|
2013-09-27 12:11:37 +02:00 |
Max Kellermann
|
cf98b0e261
|
test/dump_rva2: remove fake Tag symbols
|
2013-09-05 19:25:50 +02:00 |
Max Kellermann
|
5d5f21bfc5
|
Tag: compile-time initialisation of ignore_tag_items
Move to TagSettings.c and use C99 initializers.
|
2013-09-05 18:34:12 +02:00 |
Max Kellermann
|
2b676dc5fc
|
Tag: move configuration code to TagConfig.cxx
Allow using the Tag.cxx library without the Config library.
|
2013-09-05 18:27:08 +02:00 |
Max Kellermann
|
3f267b1795
|
Tag, ...: move to libtag.a
|
2013-09-05 18:26:56 +02:00 |
Max Kellermann
|
8929f88e6d
|
PlaylistPlugin: add interface SongEnumerator
Replaces struct playlist_provider.
|
2013-09-05 09:40:55 +02:00 |
Max Kellermann
|
26d92c80ed
|
conf.h: remove obsolete header
Use only ConfigData.hxx in plugin sources to reduce header
dependencies.
|
2013-09-05 08:47:10 +02:00 |
Max Kellermann
|
7d0269d2ce
|
InputLegacy: move functions to the input_stream class
|
2013-09-05 00:23:14 +02:00 |
Max Kellermann
|
52ffdb0a55
|
test/read_tags: use input_stream_wait_ready()
|
2013-09-05 00:22:43 +02:00 |
Max Kellermann
|
5101ef4b02
|
Tag*: move libtag.a sources to src/tag/
|
2013-09-04 23:46:20 +02:00 |
Max Kellermann
|
29030b54c9
|
util/Error: new error passing library
Replaces GLib's GError.
|
2013-09-04 18:14:22 +02:00 |
Max Kellermann
|
c9fcc7f148
|
system/resolver: convert to C++
|
2013-09-04 18:02:09 +02:00 |
Max Kellermann
|
4db119c01b
|
IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
|
2013-09-03 11:28:47 +02:00 |
Max Kellermann
|
8d36367fe2
|
input_stream.h: rename to InputLegacy.hxx
|
2013-09-03 09:18:30 +02:00 |
Max Kellermann
|
b70d38dc10
|
Makefile.am: move sources to libsystem.a
|
2013-08-07 10:31:31 +02:00 |
Max Kellermann
|
bf840700e4
|
test/signals: remove obsolete library
|
2013-08-07 09:51:43 +02:00 |
Max Kellermann
|
85b77b81ca
|
*: use gcc.h macros instead of GLib
|
2013-08-04 23:48:01 +02:00 |
Max Kellermann
|
65842cd99e
|
DatabasePlugin: pass config_param reference
|
2013-08-04 14:07:50 +02:00 |
Max Kellermann
|
a0beb5fa26
|
MixerPlugin: pass config_param reference
|
2013-08-04 14:07:50 +02:00 |
Max Kellermann
|
f54bcc1f16
|
FilterPlugin: pass config_param reference
|
2013-08-04 14:07:50 +02:00 |
Max Kellermann
|
ca0d09c50f
|
EncoderPlugin: pass config_param reference
|
2013-08-04 14:07:50 +02:00 |
Max Kellermann
|
81c3224076
|
OutputPlugin: pass config_param reference
|
2013-08-04 14:07:49 +02:00 |
Max Kellermann
|
d1e7b4e381
|
audio_format: convert to C++
|
2013-08-03 21:37:56 +02:00 |
Max Kellermann
|
cbd38327e7
|
DecoderAPI: pass rvalue reference to decoder_tag()
Avoid duplicating the tag.
|
2013-07-31 00:34:22 +02:00 |
Max Kellermann
|
06f898cc12
|
tag: convert to C++
|
2013-07-30 20:19:53 +02:00 |
Max Kellermann
|
9a0061c511
|
encoder_api: convert to C++
|
2013-07-30 09:04:05 +02:00 |
Max Kellermann
|
c75cb67c44
|
pcm_buffer: convert to C++
|
2013-07-30 08:31:02 +02:00 |
Max Kellermann
|
cde6a3a00c
|
tag_handler: convert to C++
|
2013-07-29 07:39:58 +02:00 |
Max Kellermann
|
96b763067e
|
ape: convert to C++
|
2013-07-29 07:39:36 +02:00 |
Max Kellermann
|
dd5ba062cc
|
tag_id3: convert to C++
|
2013-07-28 20:25:45 +02:00 |
Max Kellermann
|
ba161ec572
|
song: convert header to C++
|
2013-07-28 13:25:12 +02:00 |
Max Kellermann
|
43f613d9be
|
decoder_api: convert to C++
|
2013-07-28 13:18:48 +02:00 |
Max Kellermann
|
1fcf35ad3b
|
tag_rva2: convert to C++
|
2013-07-26 12:52:51 +02:00 |
Denis Krjuchkov
|
e9e55b0812
|
text_input_stream: convert to class
|
2013-05-12 20:02:27 +06:00 |
Max Kellermann
|
9e5d2c5bb7
|
encoder_list: convert to C++
|
2013-04-17 22:22:37 +02:00 |
Max Kellermann
|
4a800b311f
|
don't use g_thread_init() with GLib 2.32
Deprecated.
|
2013-04-17 01:54:14 +02:00 |
Max Kellermann
|
3a2254c91f
|
output: convert to C++
|
2013-04-17 01:12:05 +02:00 |
Max Kellermann
|
cb8449a66d
|
MixerInternal: convert to class
|
2013-04-16 21:33:25 +02:00 |
Max Kellermann
|
9f625b0a0d
|
mixer/Pulse: convert to a class
|
2013-04-16 21:18:54 +02:00 |
Max Kellermann
|
e63420a8c2
|
output/Pulse: convert to C++
|
2013-04-16 20:51:21 +02:00 |
Max Kellermann
|
c654c7630a
|
pcm_*: move to src/pcm/
|
2013-04-09 01:24:52 +02:00 |
Max Kellermann
|
496f70fc0d
|
mixer_plugin: convert to C++
|
2013-02-22 20:51:23 +01:00 |
Max Kellermann
|
a9ce0218c1
|
FilterInternal: convert struct filter to a OO interface
|
2013-02-02 09:34:07 +01:00 |