aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/ShineEncoderPlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Encoder*: move to src/encoderMax Kellermann2014-01-231-271/+0
| | | | .. and move the plugins to src/encoder/plugins/.
* encoder/shine: fix segfault workaroundAndrée Ekroth2014-01-131-5/+17
| | | | | | | Initializing and closing the Shine library without writing any data results in a segmentation fault. The current workaround writes zeroes if there was no actual data.
* encoder/shine: remove unnecessary bufferAndrée Ekroth2014-01-131-42/+44
| | | | | | | Now writes to the de-interleaved buffers directly, instead of writing to an intermediate fifo buffer. Fix indentation and 80 char width lines.
* Shine encoding pluginAndrée Ekroth2014-01-131-0/+257
This encoding plugin features a fixed-point mp3 encoder, with faster encoding on architectures without a FPU. Right now the encoder is limited to stereo and 16 bit depth. The bitrate and sample rate can be modified in audio_output. audio_output { type "httpd" name "My shine stream" encoder "shine" port "8000" format "44100:16:2" bitrate "320" # default: 128 }