aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/ShoutOutputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-12Tag: add class const_iterator and methods begin(), end()Max Kellermann1-4/+4
Enables using range-based "for".
2014-02-24output/{shout,win32}: include cleanupMax Kellermann1-1/+0
2014-01-29output: move functions into the AudioOutput structMax Kellermann1-1/+1
2014-01-29AudioOutput: pass plugin to constructorMax Kellermann1-3/+3
Make it "const".
2014-01-28AudioOutput: add constructor and destructorMax Kellermann1-6/+0
2014-01-28output: rename struct audio_output to AudioOutputMax Kellermann1-10/+10
2014-01-28OutputPlugin: rename struct audio_output_plugin to AudioOutputPluginMax Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann1-1/+1
2014-01-23output/*: move to output/plugins/Max Kellermann1-1/+1
2014-01-23Encoder*: move to src/encoderMax Kellermann1-2/+2
.. and move the plugins to src/encoder/plugins/.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-10-02Log: new logging library APIMax Kellermann1-7/+7
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-26*Plugin: remove redundant "line %i" from error messagesMax Kellermann1-2/+2
The MPD core will add this as a prefeix.
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann1-3/+3
Migrate the remaining callers to FatalError().
2013-09-04util/Error: new error passing libraryMax Kellermann1-85/+69
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-04OutputPlugin: pass config_param referenceMax Kellermann1-25/+22
2013-08-03audio_format: convert to C++Max Kellermann1-6/+5
2013-07-30tag: convert to C++Max Kellermann1-2/+3
2013-07-30encoder_api: convert to C++Max Kellermann1-7/+6
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-04-17encoder_list: convert to C++Max Kellermann1-1/+1
2013-04-17output/shout: convert to C++Max Kellermann1-135/+138
2013-01-10output/shout: refactor check_block_param() to a functionMax Kellermann1-18/+15
Don't use macro magic, don't dereference the block_param.
2012-10-02output/shout: move code to my_shout_configure()Max Kellermann1-31/+40
Eliminate the evil goto.
2012-10-02output/{recorder,shout}: call encoder_read() in a loopMax Kellermann1-8/+10
This is necessary for Ogg packets that span more than one page.
2012-10-02output/shout: eliminate struct shout_bufferMax Kellermann1-7/+3
Move the raw buffer to struct shout_data.
2012-10-02output/shout: remove shout_buffer.lenMax Kellermann1-9/+4
Make it a local variable instead.
2012-10-02output/shout: fix memory leak in error handlerMax Kellermann1-2/+7
2012-10-02output/shout: make variables more localMax Kellermann1-49/+26
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-24/+39
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-17output: rename plugin variablesMax Kellermann1-1/+1
Consistent naming.
2011-09-17output: per-plugin headerMax Kellermann1-0/+1
Move the "extern" declarations from output_list.c, for more type safety.
2011-09-17output: rename plugin source filesMax Kellermann1-0/+0
2011-09-09conf: get_block_param() returns a const pointerMax Kellermann1-1/+1
No caller needs to write.
2011-07-20encoder_plugin: add method pre_tag()Max Kellermann1-1/+1
In the "vorbis" plugin, this is a copy of the old flush() method, while flush() gets a lot of code remove, it just sets the "flush" flag and nothing else. It doesn't start a new stream now, which should fix a few problems in some players.
2011-07-19output/shout: fix a memory leakJonathan Neuschäfer1-1/+1
2011-07-18output/shout: fix a memory leakJonathan Neuschäfer1-12/+16
2011-02-09output/shout: add possibility to set urlThomas Jansen1-0/+7
Added a new optional parameter for the shout plugin called "url".
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-11-08output/shout: artist comes first in stream titleMax Kellermann1-1/+1
After popular demand, I've switched the order of "artist" and "title" in the stream title. There is no standard, and there is no reliable way to parse those from the stream title.
2010-11-05output/shout: implement delay()Max Kellermann1-8/+13
This makes the plugin more responsive to control commands, because it will listen to control events while waiting.
2010-09-25eliminate g_error() usageThomas Jansen1-2/+3
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
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-2/+7
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-10-13tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann1-2/+2
2009-08-14output/shout: minimize the unpause latencyMax Kellermann1-0/+7
During the pause loop, manually sleep for 500ms if shout_delay() returns a value greater than that. Don't exhaust libshout's buffer.
2009-06-03conf: eliminated CamelCaseMax Kellermann1-1/+1
Renamed all remaining CamelCase functions.