aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_plugin.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shout: removed shout_plugin.hMax Kellermann2009-02-221-52/+0
| | | | | There are no plugins left which require shout_plugin.h. Moved the struct declaration to shout_plugin.c.
* shout: use the new encoder APIMax Kellermann2009-02-221-32/+1
| | | | | Removed shout's encoder plugin API in favor of the new generic encoder plugin API.
* shout: pass void pointer to the encoderMax Kellermann2009-02-101-1/+1
| | | | | | Pass the music chunk as a "const void *" to the encoder, instead of a "const char *". Actually, both encoders currently expect 16 bit samples, passing a 8-bit character is rather pointless.
* shout: don't postpone metadataMax Kellermann2009-02-091-1/+1
| | | | | Don't duplicate the tag received by the send_metadata() method - send it to the shout server directly.
* shout: use libshout's synchronizationMax Kellermann2009-02-091-3/+0
| | | | | 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-4/+0
| | | | | | 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-1/+0
| | | | | 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-1/+0
| | | | That variable is set in handle_shout_error(), but is never read.
* shout: enlarge buffer size to 32 kBAntoine Beaupré2009-01-141-1/+1
| | | | | | | I was having problems with shoutcast stream outputs before applying the attached patch, which enlarges the shoutcast output buffer. Ideally, this should be configurable, but this resolves the issue for my needs.
* shout: use GLib instead of utils.h/log.hMax Kellermann2008-11-251-0/+4
|
* added prefix to header macrosMax Kellermann2008-10-311-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.
* output: use bool for return values and flagsMax Kellermann2008-10-291-1/+1
| | | | | Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
* output: don't compile plugins which are disabledMax Kellermann2008-10-261-5/+0
| | | | Don't compile the sources of disabled output plugins at all.
* renamed src/audioOutputs/ to src/output/Max Kellermann2008-10-261-0/+93
Again, no CamelCase in the directory name.