aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-02encoder/vorbis: accept floating point input samplesMax Kellermann1-8/+9
Improves quality by not squeezing 32 bit samples down to 16 bit, and then back to 32 bit floating point. Reduces CPU usage by skipping a conversion step.
2012-10-02pcm_channels: support floating point samplesMax Kellermann3-62/+105
2012-10-02encoder/opus: call ogg_stream_flush() only in the last iterationMax Kellermann1-4/+4
If there are multiple pages, the last partial page must be flushed.
2012-10-02encoder/opus: new encoder plugin for the Opus codecMax Kellermann3-0/+446
2012-10-02output/shout: move code to my_shout_configure()Max Kellermann1-31/+40
Eliminate the evil goto.
2012-10-02encoder/vorbis: use C++ compilerMax Kellermann3-25/+53
2012-10-02output/{recorder,shout}: call encoder_read() in a loopMax Kellermann3-16/+23
This is necessary for Ogg packets that span more than one page.
2012-10-02output/recorder: move code to _write_to_file()Max Kellermann1-19/+31
2012-10-02output/recorder: fix write() error checkMax Kellermann1-3/+3
We can only check for negative values if the variable is signed.
2012-10-02output/recorder: make variables more localMax Kellermann1-16/+12
2012-10-02output/httpd: make variables more localMax Kellermann1-31/+16
2012-10-02encoder/vorbis: make variables more localMax Kellermann1-20/+12
2012-10-02output/recorder, test/*: invoke encoder_read() after _open()Max Kellermann2-0/+11
Make sure the file header gets written at the beginning, before _write() gets called.
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
2012-09-28main: use C++ compilerMax Kellermann19-35/+36
2012-09-28PlaylistFile: use std::list instead of GPtrArrayMax Kellermann6-159/+114
2012-09-28stored_playlist, playlist_save: use C++ compilerMax Kellermann12-32/+49
2012-09-28stored_playlist: make variables more localMax Kellermann1-46/+25
2012-09-25output: new option "tags" may be used to disable sending tagsMax Kellermann3-1/+9
Implements Mantis ticket 0003340.
2012-09-25decoder/adplug: new decoder pluginMax Kellermann3-0/+177
2012-09-25decoder/vorbis: skip 16 bit quantisation, provide float samplesSimon Hosie1-0/+44
Internally the vorbis (non-Tremor) decoder is working in floating point, and it's not really necessary to cut the output back to 16-bit if the soundcard or OS supports higher resolution. The decoder can be trivially modified to bypass its internal quantisation and produce floating-point output, and a separate quantisation can be used as appropriate to the platform.
2012-09-25decoder/vorbis: rename local variablesMax Kellermann1-14/+13
2012-09-25decoder/vorbis: improved support for initial seekMax Kellermann1-1/+1
Call decoder_get_command() before doing anything else.
2012-09-25decoder/vorbis: make variables more localMax Kellermann1-26/+20
2012-09-25command.h: move function prototypes to AllCommands.hMax Kellermann6-18/+43
2012-09-25command.h: remove obsolete command_success() prototypeMax Kellermann2-2/+1
This lives in protocol/result.h now.
2012-09-25playlist: include cleanupMax Kellermann1-4/+0
2012-09-25rename CommandError.h to CommandError.hxxMax Kellermann8-13/+8
2012-09-25*Commands: remove extern"C" from C++ headersMax Kellermann8-32/+0
2012-09-25command: add COMMAND_RETURN_IDLEMax Kellermann3-2/+8
Eliminate the hack in handle_idle().
2012-09-25command: add documentation for "enum command_return"Max Kellermann1-1/+18
2012-09-25command: remove enum integer valuesMax Kellermann1-4/+4
Just use the values assigned by the compiler.
2012-09-25command: rename to AllCommands.cxxMax Kellermann1-3/+5
2012-09-25command: move remaining handlers to OtherCommands.cxxMax Kellermann3-277/+387
2012-09-25gcc.h: require gcc 4.6Max Kellermann1-2/+2
We use range-based for and nullptr, which was not implemented prior to gcc 4.6.
2012-09-25decoder_control: remove MixRamp debug messagesMax Kellermann4-10/+4
These are confusing, and since MixRamp development has ceased, not useful to anybody.
2012-09-25decoder/wavpack: support all APEv2 tagsMax Kellermann3-17/+17
WavPack tags are always APEv2, by definition. Reuse the tag_table from tag_ape.c, instead of rolling our own.
2012-09-22locate: cast enum tag_type to int before comparing with integerMax Kellermann1-4/+4
Avoids clang pickiness. This code is not correct, but we'll fix that another day.
2012-09-05src/decoder/opus: new decoder plugin for the Opus codecMax Kellermann12-0/+782
Using libopus and libogg.
2012-09-05decoder/{flac,vorbis}: move tag table to XiphTags.cMax Kellermann4-16/+60
Merge duplicate data.
2012-09-05db/SimpleDatabasePlugin: fix memory leak in Visit()Max Kellermann1-7/+11
When visiting a song, GetSong() was called, but this object was never returned by calling ReturnSong(). This patch locks the database only once in Visit() and passes the original song object to the visitor, avoiding the copy.
2012-09-05db_lock: add C++ helper class ScopeDatabaseLockMax Kellermann2-11/+21
2012-09-04decoder/ogg_codec: return UNKNOWN on errorMax Kellermann2-1/+2
2012-09-04decoder/ogg_common: rename to ogg_codec.cMax Kellermann4-19/+19
2012-09-04decoder/ogg_common: pass decoder to _type_detect()Max Kellermann4-5/+5
Allow the function to be cancelled.
2012-09-04decoder/ogg_common: apply coding styleMax Kellermann2-6/+9
2012-09-04decoder/_ogg_common: rename to ogg_common.cMax Kellermann6-5/+5