aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_ogg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shout: pass void pointer to the encoderMax Kellermann2009-02-101-2/+3
| | | | | | 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_ogg: moved PCM conversion to a separate functionMax Kellermann2009-02-101-12/+13
| | | | | | For simplification, moved the PCM conversion code to pcm16_to_ogg_buffer(). Work with a int16_t pointer instead of a char pointer.
* shout: clear buffer before calling the encoderMax Kellermann2009-02-091-13/+4
| | | | | | | Always assume the buffer is empty before calling the encoder. Always flush the buffer immediately after there has been added something. This reduces the risk of buffer overruns, because there will never be a "rest" in the current buffer.
* output plugins: don't include gcc.hMax Kellermann2009-01-011-2/+2
| | | | Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
* shout: use GLib instead of utils.h/log.hMax Kellermann2008-11-251-9/+7
|
* output: don't compile plugins which are disabledMax Kellermann2008-10-261-5/+1
| | | | Don't compile the sources of disabled output plugins at all.
* renamed src/audioOutputs/ to src/output/Max Kellermann2008-10-261-0/+306
Again, no CamelCase in the directory name.