Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 1 | -6/+6 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-09 | output/null: convert struct to class | Max Kellermann | 1 | -1/+4 | |
2015-01-09 | output/null: move functions into the struct | Max Kellermann | 1 | -75/+47 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-02-19 | Timer: move to output/ | Max Kellermann | 1 | -1/+1 | |
2014-01-29 | output: move functions into the AudioOutput struct | Max Kellermann | 1 | -1/+1 | |
2014-01-29 | AudioOutput: pass plugin to constructor | Max Kellermann | 1 | -2/+4 | |
Make it "const". | |||||
2014-01-28 | AudioOutput: add constructor and destructor | Max Kellermann | 1 | -5/+0 | |
2014-01-28 | output: rename struct audio_output to AudioOutput | Max Kellermann | 1 | -8/+8 | |
2014-01-28 | OutputPlugin: rename struct audio_output_plugin to AudioOutputPlugin | Max Kellermann | 1 | -1/+1 | |
2014-01-23 | output/*: move to output/plugins/ | Max Kellermann | 1 | -1/+1 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -6/+6 | |
Replaces GLib's GError. | |||||
2013-08-04 | OutputPlugin: pass config_param reference | Max Kellermann | 1 | -3/+3 | |
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-07-30 | output_api: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-05-12 | timer: convert to class | Denis Krjuchkov | 1 | -11/+11 | |
2013-04-17 | output/oss,null: use new/delete | Max Kellermann | 1 | -12/+19 | |
2013-02-02 | output/null: convert to C++ | Max Kellermann | 1 | -18/+25 | |
2011-12-13 | output/null: implement output_plugin method delay() | Max Kellermann | 1 | -3/+11 | |
2011-12-13 | output/null: don't initialize the "timer" attribute in _init() | Max Kellermann | 1 | -6/+1 | |
Unnecessary overhead. | |||||
2011-09-19 | output_plugin: the plugin allocates the audio_output object | Max Kellermann | 1 | -15/+21 | |
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs. | |||||
2011-09-17 | output: per-plugin header | Max Kellermann | 1 | -0/+1 | |
Move the "extern" declarations from output_list.c, for more type safety. | |||||
2011-09-17 | output: rename plugin source files | Max Kellermann | 1 | -0/+0 | |
2011-08-27 | rename 'Timer' to 'struct timer' | Jonathan Neuschäfer | 1 | -2/+2 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -2/+3 | |
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-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
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-26 | output_plugin: report errors with GError | Max Kellermann | 1 | -3/+6 | |
Use GLib's GError library for reporting output device failures. Note that some init() methods don't clean up properly after a failure, but that's ok for now, because the MPD core will abort anyway. | |||||
2009-02-25 | output_plugin: don't pass audio_output object to method init() | Max Kellermann | 1 | -2/+1 | |
audio_output_get_name() has been removed, which was the only function left in output_api.h. The output plugin doesn't need the audio_output object at all, remove the parameter from the init() method. | |||||
2009-02-23 | output: pass the music chunk pointer as void*, not char* | Max Kellermann | 1 | -1/+1 | |
The meaning of the chunk depends on the audio format; don't suggest a specific format by declaring the pointer as "char*", pass "void*" instead. | |||||
2009-02-23 | output_api: play() returns a length | Max Kellermann | 1 | -3/+3 | |
The old API required an output plugin to not return until all data passed to the play() method is consumed. Some output plugins have to loop to fulfill that requirement, and may block during that. Simplify these, by letting them consume only part of the buffer: make play() return the length of the consumed data. | |||||
2009-01-25 | conf: const pointers in block get functions | Max Kellermann | 1 | -1/+1 | |
All config_get_block_*() functions should accept constant config_param pointers. | |||||
2009-01-22 | null: added option to disable timer synchronization | Max Kellermann | 1 | -1/+11 | |
The null plugin synchronizes the playback so it will happen in real time. This patch adds a configuration option which disables this: the playback will then be as fast as possible. This can be useful to profile MPD. | |||||
2009-01-22 | null: implemented finish() method | Max Kellermann | 1 | -0/+13 | |
Free memory in the finish() method to make valgrind happy. | |||||
2009-01-22 | null: no CamelCase | Max Kellermann | 1 | -13/+18 | |
Renamed functions and variables. | |||||
2009-01-17 | conf: no CamelCase, part I | Max Kellermann | 1 | -1/+1 | |
Renamed functions, types, variables. | |||||
2009-01-03 | null, fifo: use GLib instead of utils.h | Max Kellermann | 1 | -2/+1 | |
2009-01-01 | null: don't include gcc.h | Max Kellermann | 1 | -4/+7 | |
Use GLib's G_GNUC_UNUSED instead of macros from gcc.h. | |||||
2008-10-29 | output: use bool for return values and flags | Max Kellermann | 1 | -6/+6 | |
Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags. | |||||
2008-10-26 | renamed src/audioOutputs/ to src/output/ | Max Kellermann | 1 | -0/+0 | |
Again, no CamelCase in the directory name. | |||||
2008-09-29 | use C99 struct initializers | Max Kellermann | 1 | -9/+6 | |
The old struct initializers are error prone and don't allow moving elements around. Since we are going to overhaul some of the APIs soon, it's easier to have all implementations use C99 initializers. | |||||
2008-09-24 | output: make "struct audio_output" opaque for output plugins | Max Kellermann | 1 | -15/+28 | |
We have eliminated direct accesses to the audio_output struct from the all output plugins. Make it opaque for them, and move its real declaration to output_internal.h, similar to decoder_internal.h. Pass the opaque structure to plugin.init() only, which will return the plugin's data pointer on success, and NULL on failure. This data pointer will be passed to all other methods instead of the audio_output struct. | |||||
2008-09-24 | output: set audio_output->open=1 in audio_output_task() | Max Kellermann | 1 | -3/+0 | |
Since the output plugin returns a value indicating success or error, we can have the output core code assign the "open" flag. | |||||
2008-09-24 | output: pass audio_format to plugin.init() and plugin.open() | Max Kellermann | 1 | -2/+4 | |
Pass the globally configured audio_format as a const pointer to plugin.init(). plugin.open() gets a writable pointer which contains the audio_format requested by the plugin. Its initial value is either the configured audio_format or the input file's audio_format. | |||||
2008-09-08 | output: const plugin structures | Max Kellermann | 1 | -1/+1 | |
Since the plugin struct is never modified, we should store it in constant locations. | |||||
2008-09-07 | output: renamed typedef AudioOutput to struct audio_output | Max Kellermann | 1 | -6/+6 | |
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies. | |||||
2008-09-07 | output: added output_api.h | Max Kellermann | 1 | -1/+1 | |
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins. |