aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_encoder.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann1-21/+16
Avoid GLib.
2013-12-05test/run_encoder: destruct the Encoder before exitingMax Kellermann1-0/+3
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-21/+12
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-08-04EncoderPlugin: pass config_param referenceMax Kellermann1-1/+1
2013-08-03audio_format: convert to C++Max Kellermann1-6/+4
2013-07-30encoder_api: convert to C++Max Kellermann1-10/+8
2013-04-17encoder_list: convert to C++Max Kellermann1-1/+1
2013-01-30ConfigData: move functions into the classMax Kellermann1-1/+1
2013-01-30ConfigData: add constructors/destructorsMax Kellermann1-4/+3
2013-01-30audio_{parser,config}: convert to C++Max Kellermann1-1/+1
2013-01-30test/run_encoder, ...: convert to C++Max Kellermann1-2/+2
2012-10-02output/recorder, test/*: invoke encoder_read() after _open()Max Kellermann1-0/+2
Make sure the file header gets written at the beginning, before _write() gets called.
2012-10-02test/run_encoder: fix encoder_open() callMax Kellermann1-2/+1
2012-04-05encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann1-1/+1
Add the encoder_plugin method end(). This is important for the recorder plugin.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-2/+3
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-2/+3
Some compilers are very picky, but we really aren't interested in the return value.
2011-09-09conf: move duplicate check to _read_name_value()Max Kellermann1-1/+1
config_add_block_param() cannot fail, which makes it easier to use.
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!
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-1/+1
This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
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-09-24conf: handle fatal errors with GErrorMax Kellermann1-1/+1
Don't call g_error(), which will abort the process and dump core. This patch does not affect all the config_get_X() functions. These need some more refactoring.
2009-07-19Add audio_format_init() functionDavid Woodhouse1-5/+3
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-06-03conf: eliminated CamelCaseMax Kellermann1-2/+2
Renamed all remaining CamelCase functions.
2009-05-05test/run_encoder: flush the encoder before exitingMax Kellermann1-5/+21
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: added encoder test programMax Kellermann1-0/+114
Added a command line program which runs an encoder plugin.