aboutsummaryrefslogtreecommitdiffstats
path: root/src/output (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-24output/jack: use SampleFormat::FLOATMax Kellermann1-55/+9
What JACK expects is already implemented in MPD, just not used. The sample format conversion code in the JACK plugin was redundant and could reduce sound quality.
2014-12-24output/Internal: move enum AudioOutputCommand into the structMax Kellermann4-58/+58
2014-12-24output/Internal: convert audio_output_command to strictly-typed enumMax Kellermann4-47/+49
2014-12-24output/jack: use std::fill()Max Kellermann1-9/+6
2014-12-24output/jack: move functions into the structMax Kellermann1-208/+246
2014-12-24output/jack: merge two mpd_jack_available() callsMax Kellermann1-2/+2
2014-12-24output/jack: make variables more localMax Kellermann1-21/+15
2014-12-24output/jack: convert const to constexprMax Kellermann1-1/+1
2014-12-24output/jack: convert enum to constexprMax Kellermann1-3/+1
2014-12-17output/winmm: show detailed error messagesMax Kellermann1-7/+18
2014-12-09output/oss: make the static arrays "constexpr"Max Kellermann1-3/+3
2014-12-04util/DivideString: add option "strip"Max Kellermann1-1/+1
2014-12-04util/SplitString: new utility classMax Kellermann2-28/+14
Replaces GLib's g_strsplit().
2014-12-04output/jack: use usleep() instead of g_usleep()Max Kellermann1-1/+2
2014-12-03util/SplitString: rename to DivideStringMax Kellermann1-2/+2
2014-12-02output/ao: use class SplitString instead of g_strsplit()Max Kellermann1-6/+4
2014-12-02mixer/null: new mixer pluginMax Kellermann1-0/+4
2014-12-02MixerType: convert to strictly-typed enumMax Kellermann1-5/+5
2014-12-02MixerType: rename to CamelCaseMax Kellermann1-1/+1
2014-12-01output/httpd/IcyMetaDataServer: use CopyString() instead of g_strlcpy()Max Kellermann1-18/+7
2014-12-01output/httpd/IcyMetaDataServer: don't use GLib typesMax Kellermann1-13/+13
2014-12-01output/httpd/IcyMetaDataServer: make variables more localMax Kellermann1-19/+14
2014-12-01Output: start with a null mixer.Nix1-0/+1
There are code paths (mostly error cases) in which it is possible to initialize an AudioOutput and then kill it without ever calling audio_output_new(). In such a case, its destructor will attempt to free a mixer that was never initialized, leading to an attempt to take out a lock on a mutex that was similarly never initialized, which hangs forever. Fix by always initializing the mixer appropriately.
2014-11-28Compiler.h: add macro CLANG_OR_GCC_VERSION()Max Kellermann1-1/+1
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann1-5/+5
Simplify the definition of many build options.
2014-11-02output/roar: remove unnecessary "volatile" keywordMax Kellermann1-1/+1
A mutex acts as a memory barrier, and thus "volatile" is not necessary.
2014-10-25OutputThread: fall back to PCM if given DSD sample rate is not supportedMax Kellermann1-0/+30
Works around the "PCM conversion from f to dsd is not implemented" error message that prevents DSD playback.
2014-10-25Set pulseaudio channel map to WAVE-EXSteven Newbury1-1/+5
Pulseaudio expects clients to specify their channel-map if the default (ALSA) map does not route the audio to the expected speakers. Many Google results suggest dealing with this by re-routing the audio channels with the appropriate ALSA plugin, but this will then simply break any clients which expect the default ALSA mapping. Virtually all media files and codecs, certainly flac, dca, a52, and of course anything based on Microsoft's WAVEFORMAT_EXTENSIBLE specification, assume the layout in the table here: http://en.wikipedia.org/wiki/Surround_sound#Standard_speaker_channels Fortunately, pulseaudio directly addresses this with a built-in channel map for WAVE-EX which can be set automatically in the stream sample-spec.
2014-10-24OutputThread: close the output plugin after filter failureMax Kellermann1-0/+1
Fixes memory leak because ao_plugin_close() never gets called.
2014-10-24OutputThread: unlock mutex for CloseFilter()Max Kellermann2-0/+14
Be consistent.
2014-10-23output/roar: remove unnecessary "volatile" keywordMax Kellermann1-1/+1
A mutex acts as a memory barrier, and thus "volatile" is not necessary.
2014-09-27Add MusicBrainz' Release Track Id tagWieland Hoffmann1-0/+3
The Release Track Id uniquely identifies a recording on a release - that is, even if a recording appears twice on a release (meaning that the combination of recording and release id are not enough to figure out which one it is), the release track id will allow differentiating the two. The tag names are taken from https://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping
2014-09-26output/alsa: change a few "dsd" to "dop"Max Kellermann1-4/+4
2014-09-05output/pulse: simplify _wait_for_operation()Max Kellermann1-6/+3
Eliminate the duplicate pa_operation_get_state() call.
2014-08-31output/alsa, pcm: rename "DSD over USB" to "DoP"Max Kellermann1-20/+21
The standard has been renamed since the early draft that was implemented in MPD.
2014-08-31output/alsa: fix endless loop at end of file in dsd_usb modeMax Kellermann1-0/+9
2014-08-31output/{alsa,oss}: add assertionsMax Kellermann2-0/+6
2014-08-30*: add missing Compiler.h includesMax Kellermann1-0/+1
Necessary for "final" on gcc 4.6.
2014-08-30output/alsa: fix signed/unsigned comparison warningMax Kellermann1-1/+1
2014-08-29MusicChunk: use SignedSongTime for the time stampMax Kellermann1-2/+2
2014-08-29MultipleOutputs: use SignedSongTime for elapsed_timeMax Kellermann2-8/+9
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-6/+10
2014-08-26output/alsa: fix coding styleMax Kellermann1-5/+5
2014-08-26output/alsa: merge Init() into Configure()Max Kellermann1-6/+5
2014-08-26output/alsa: add API documentationMax Kellermann1-0/+17
2014-08-26output/alsa: support native DSD playbackMax Kellermann1-0/+12
Translate SampleFormat::DSD to SND_PCM_FORMAT_DSD_U8, which was added to alsa-lib 1.0.27.1.
2014-08-26output/alsa: move alsa_configure() into the classMax Kellermann1-13/+15
2014-08-26output/alsa: remove obsolete macrosMax Kellermann1-3/+0
2014-08-12PcmExport: use class ConstBufferMax Kellermann2-2/+8
2014-08-12Filter: FilterPCM() returns ConstBufferMax Kellermann1-58/+35
API simplification. We can now avoid abusing a "size_t*" as additional return value.