mpd/test
Max Kellermann 33716732a1 pcm/PcmChannels: silence surround channels when converting from stereo
Previously, there was no special code to convert stereo to
multi-channel.  The generic solution for this was to convert to mono,
and then copy the result to all channels.  That's a pretty bad
solution, but at least something which always renders audio.  MPD does
something, instead of failing.

Now that MPD has proper support for multi-channel (by defining the
channel order), we can do better than that.  It is a (somewhat) common
case to play back stereo music on a DAC which can only do
multi-channel.  The best approach here is to copy the stereo channels
to front-left and front-right, and apply the "silence" pattern to all
other channels.
2017-01-19 10:53:41 +01:00
..
.gitignore test/ReadApeTags: new debug program 2015-10-16 14:28:57 +02:00
ContainerScan.cxx update copyright year 2017-01-03 20:48:59 +01:00
DivideStringTest.hxx util/DivideString: add option "strip" 2014-12-04 23:05:44 +01:00
dump_playlist.cxx update copyright year 2017-01-03 20:48:59 +01:00
dump_rva2.cxx update copyright year 2017-01-03 20:48:59 +01:00
dump_text_file.cxx update copyright year 2017-01-03 20:48:59 +01:00
DumpDatabase.cxx update copyright year 2017-01-03 20:48:59 +01:00
FakeDecoderAPI.cxx AudioFormat: replace struct audio_format_string with class StringBuffer, return it 2017-01-17 22:18:21 +01:00
FakeDecoderAPI.hxx update copyright year 2017-01-03 20:48:59 +01:00
MimeTypeTest.hxx util/MimeType: add ParseMimeTypeParameters() 2016-06-10 22:52:35 +02:00
read_conf.cxx update copyright year 2017-01-03 20:48:59 +01:00
read_mixer.cxx update copyright year 2017-01-03 20:48:59 +01:00
read_tags.cxx AudioFormat: move enum SampleFormat to pcm/SampleFormat.hxx 2017-01-17 22:01:01 +01:00
ReadApeTags.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_avahi.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_convert.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_decoder.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_encoder.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_filter.cxx AudioFormat: replace struct audio_format_string with class StringBuffer, return it 2017-01-17 22:18:21 +01:00
run_gunzip.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_gzip.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_inotify.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_input.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_neighbor_explorer.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_normalize.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_output.cxx AudioFormat: replace struct audio_format_string with class StringBuffer, return it 2017-01-17 22:18:21 +01:00
run_resolver.cxx update copyright year 2017-01-03 20:48:59 +01:00
run_storage.cxx test/run_storage: don't print unknown time stamps 2017-01-08 10:41:08 +01:00
ScopeIOThread.hxx update copyright year 2017-01-03 20:48:59 +01:00
ShutdownHandler.cxx update copyright year 2017-01-03 20:48:59 +01:00
ShutdownHandler.hxx update copyright year 2017-01-03 20:48:59 +01:00
software_volume.cxx update copyright year 2017-01-03 20:48:59 +01:00
SplitStringTest.hxx util/SplitString: new utility class 2014-12-04 09:14:28 +01:00
test_archive_bzip2.sh Makefile.am: added unit tests for the archive plugins 2009-12-31 15:50:59 +01:00
test_archive_iso9660.sh Makefile.am: added unit tests for the archive plugins 2009-12-31 15:50:59 +01:00
test_archive_zzip.sh Makefile.am: added unit tests for the archive plugins 2009-12-31 15:50:59 +01:00
test_archive.cxx test/test_archive: don't use GLib 2014-10-25 00:08:04 +02:00
test_byte_reverse.cxx update copyright year 2017-01-03 20:48:59 +01:00
test_icy_parser.cxx Merge branch 'v0.18.x' 2014-01-27 10:33:42 +01:00
test_mixramp.cxx PlayerThread, ...: move to src/player/ 2015-08-15 15:55:46 +02:00
test_pcm_all.hxx pcm/export: support DSD_U16 2017-01-11 22:47:12 +01:00
test_pcm_channels.cxx pcm/PcmChannels: silence surround channels when converting from stereo 2017-01-19 10:53:41 +01:00
test_pcm_dither.cxx test/test_pcm: enable the DSD unit tests 2017-01-11 20:06:10 +01:00
test_pcm_export.cxx pcm/export: support DSD_U16 2017-01-11 22:47:12 +01:00
test_pcm_format.cxx AudioFormat: move enum SampleFormat to pcm/SampleFormat.hxx 2017-01-17 22:01:01 +01:00
test_pcm_interleave.cxx update copyright year 2017-01-03 20:48:59 +01:00
test_pcm_main.cxx test: add AudioFormat unit test 2017-01-17 12:02:41 +01:00
test_pcm_mix.cxx update copyright year 2017-01-03 20:48:59 +01:00
test_pcm_pack.cxx test/test_pcm: enable the DSD unit tests 2017-01-11 20:06:10 +01:00
test_pcm_util.hxx update copyright year 2017-01-03 20:48:59 +01:00
test_pcm_volume.cxx update copyright year 2017-01-03 20:48:59 +01:00
test_protocol.cxx protocol/Ack: add exception class wrapping enum ack 2015-12-18 09:53:02 +01:00
test_queue_priority.cxx test/test_queue_priority: fix unit test failure after recent "setprio" change 2016-12-13 08:36:42 +01:00
test_rewind.cxx thread/Mutex: remove ScopeLock, use std::lock_guard directly 2017-01-03 07:11:57 +01:00
test_translate_song.cxx input/curl, ...: use strncmp() instead of memcmp() to avoid crash 2017-01-03 13:17:02 +01:00
test_util.cxx TagStream, decoder/Thread, ...: ignore MIME type parameters for matching plugins 2016-06-10 22:24:13 +02:00
test_vorbis_encoder.cxx update copyright year 2017-01-03 20:48:59 +01:00
TestAudioFormat.cxx Audio{Format,Parser}: use shortcuts such as "dsd64" in log messages 2017-01-17 22:42:23 +01:00
TestAudioFormat.hxx test: add AudioFormat unit test 2017-01-17 12:02:41 +01:00
TestCircularBuffer.hxx test/TestCircularBuffer: include cleanup 2014-12-04 07:14:43 +01:00
TestFs.cxx util/Error: remove obsolete class 2016-11-10 12:58:26 +01:00
TestIcu.cxx util/Error: remove obsolete class 2016-11-10 12:58:26 +01:00
UriUtilTest.hxx test/test_util: move class UriUtilTest to UriUtilTest.hxx 2014-12-04 07:12:04 +01:00
visit_archive.cxx update copyright year 2017-01-03 20:48:59 +01:00
WriteFile.cxx update copyright year 2017-01-03 20:48:59 +01:00