aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shout: use libshout's synchronizationMax Kellermann2009-02-091-21/+4
| | | | | Removed the manual timer synchronization from the shout plugin. libshout's shout_sync() function does it for us.
* shout: switch to blocking modeMax Kellermann2009-02-091-73/+7
| | | | | | The non-blocking mode of libshout is sparsely documented, and MPD's implementation had several bugs. Also removed connect throttling code, that is done by the MPD core since 0.14.
* shout: removed shout_data.tag_to_sendMax Kellermann2009-02-091-8/+6
| | | | | When shout_data.tag!=NULL, there is a "tag to send". The tag_to_send flag is redundant.
* shout: removed shout_data.shout_errorMax Kellermann2009-02-091-3/+0
| | | | That variable is set in handle_shout_error(), but is never read.
* output_api: moved the command check out of method pause()Max Kellermann2009-01-301-10/+3
| | | | | | Move the "while" loop which checks for commands to the caller ao_pause(). This simplifies the pause() method, and lets us remove audio_output_is_pending().
* use g_free() instead of free()Max Kellermann2009-01-251-1/+1
| | | | | | On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
* conf: const pointers in block get functionsMax Kellermann2009-01-251-1/+1
| | | | | All config_get_block_*() functions should accept constant config_param pointers.
* conf: added config_get_block_unsigned()Max Kellermann2009-01-181-8/+2
| | | | Eliminate some more getBlockParam() invocations.
* conf: added config_get_block_string()Max Kellermann2009-01-181-53/+29
| | | | This replaces lots of getBlockParam() invocations.
* conf: replaced getBoolBlockParam() with config_get_block_bool()Max Kellermann2009-01-171-3/+1
| | | | No "force" parameter, pass a default value instead.
* conf: no CamelCase, part IMax Kellermann2009-01-171-2/+2
| | | | Renamed functions, types, variables.
* added missing explicit config.h includesMax Kellermann2009-01-081-0/+1
|
* shout: fixed bad error message printoutViliam Mateicka2008-12-231-2/+2
|
* shout: use GLib instead of utils.h/log.hMax Kellermann2008-11-251-59/+59
|
* shout: don't check HAVE_SHOUTMax Kellermann2008-11-251-7/+0
| | | | | If the shout plugin is disabled, shout_plugin.c isn't compiled at all, no need to check the macro definition.
* removed unneed check for protocol in shout plugin, will assume icecast2 ↵Alam Arias2008-10-311-2/+0
| | | | protocol if not exist in config
* output: close device on play errorMax Kellermann2008-10-291-7/+2
| | | | | When an output plugin fails to play a chunk, close it. This replaces various manual close() calls in nearly all plugins.
* output: use bool for return values and flagsMax Kellermann2008-10-291-12/+12
| | | | | Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
* renamed src/audioOutputs/ to src/output/Max Kellermann2008-10-261-0/+596
Again, no CamelCase in the directory name.