aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_convert.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-22Config: add section "resampler"Max Kellermann1-8/+0
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-12PcmConvert: Convert() returns ConstBufferMax Kellermann1-6/+5
2014-08-06util/FifoBuffer: rename to StaticFifoBufferMax Kellermann1-2/+2
2014-01-24Config*: move to config/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann1-25/+10
Avoid GLib.
2013-11-13PcmConvert: add methods Open(), Close()Max Kellermann1-2/+10
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
2013-11-11filter/route, ...: add missing stdlib.h includesMax Kellermann1-0/+1
2013-10-15util/FifoBuffer: C++ version of the fifo_buffer libraryMax Kellermann1-16/+17
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann1-7/+8
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-3/+3
2013-08-03audio_format: convert to C++Max Kellermann1-9/+9
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-01-31pcm_convert: convert to C++Max Kellermann1-6/+5
2013-01-30audio_{parser,config}: convert to C++Max Kellermann1-1/+1
2013-01-30test/run_encoder, ...: convert to C++Max Kellermann1-1/+1
2013-01-30ConfigFile: add enum ConfigOptionMax Kellermann1-1/+2
Look up top-level config options by enum (= integer), not by name string.
2013-01-15fifo_buffer: move to util/Max Kellermann1-1/+1
2012-03-21test/run_convert: allow the out format to be a maskMax Kellermann1-2/+6
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-05-20test: enable binary mode on stdin/stdoutMax Kellermann1-0/+1
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
2010-01-16test/run_convert: implement a GLib log callbackMax Kellermann1-0/+12
Log to stderr instead of the default stdout. We need a pristine stdout for the conversion result.
2010-01-16test/run_convert: use fifo_buffer to adapt to odd sample sizesMax Kellermann1-3/+26
Ensure that the pcm_convert() length argument is aligned to the sample size.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-19test: added program to test pcm_convert.cMax Kellermann1-21/+38
2009-11-19test/software_volume: check for errorsMax Kellermann1-1/+6
2009-11-19test/software_volume: fixed audio_format parserMax Kellermann1-3/+3
Assign default value only if none was given on the command line.
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-10-21audio_format: wildcards allowed in audio_format configurationMax Kellermann1-1/+2
An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
2009-07-19Add audio_format_init() functionDavid Woodhouse1-5/+2
It makes no difference right now, but we're about to add an endianness flag and will want to make sure it's correctly initialised every time.
2009-03-13all: Update copyright header.Avuton Olrich1-3/+4
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-02-25test/software_volume: pass error->message to g_printerr()Max Kellermann1-1/+2
Fix a gcc warning.
2009-02-18test: added command line test program for pcm_volume.cMax Kellermann1-8/+35
This program is a simple utility for debugging and benchmarking the software volume code.
2009-02-11audio: replaced parseAudioConfig() with audio_format_parse()Max Kellermann1-6/+12
Added audio_format_parse() in a separate library, with a modern interface: return a GError instead of logging errors. This allows the caller to deal with the error.
2009-01-07pcm: pass void pointers to PCM functionsMax Kellermann1-1/+1
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
2009-01-07pcm_utils: moved code to pcm_mix.cMax Kellermann1-10/+9
Moved the software mixing code (used by crossfading) to a separate library.
2009-01-03pcm_utils: use the custom PRNG for volume ditheringMax Kellermann1-11/+9
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
2008-12-30listen: moved redirect_stdin() to daemon.cMax Kellermann1-0/+6
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
2008-12-30main: moved daemonize() to daemon.cMax Kellermann1-12/+5
2008-12-27cmdline: use gboolean instead of intMax Kellermann1-4/+6
Prepare for the migration to the GLib option parser, which uses gboolean for flags.
2008-12-27moved command line parser to cmdline.cMax Kellermann1-7/+13
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-08don't include os_compat.hMax Kellermann1-1/+1
When there are standardized headers, use these instead of the bloated os_compat.h.
2008-09-09output: moved code from audioOutput.c to output_control.cMax Kellermann1-19/+0
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later).
2008-09-09output: removed keepAudioOutputAlive() declarationMax Kellermann1-1/+0
This function is declared, but is neither used nor implemented.
2008-09-08output: static audio_output_plugin list as arrayMax Kellermann1-17/+0
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.