aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/AlsaOutputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-26output/alsa: change a few "dsd" to "dop"Max Kellermann1-4/+4
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-30output/alsa: fix signed/unsigned comparison warningMax Kellermann1-1/+1
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 Kellermann1-1/+4
2014-01-29output: move functions into the AudioOutput structMax Kellermann1-1/+1
2014-01-29AudioOutput: pass plugin to constructorMax Kellermann1-3/+4
Make it "const".
2014-01-28AudioOutput: add constructor and destructorMax Kellermann1-5/+0
2014-01-28output: rename struct audio_output to AudioOutputMax Kellermann1-10/+10
2014-01-28OutputPlugin: rename struct audio_output_plugin to AudioOutputPluginMax Kellermann1-1/+1
2014-01-24Mixer*: move to mixer/Max Kellermann1-1/+1
2014-01-23output/*: move to output/plugins/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-14output/alsa: use new[] instead of g_malloc()Max Kellermann1-6/+5
2013-11-04output/alsa: avoid endless loop in Raspberry Pi workaroundMax Kellermann1-1/+17
See code comment.
2013-10-28*: use nullptr instead of NULLMax Kellermann1-7/+7
2013-10-02Log: new logging library APIMax Kellermann1-25/+33
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-42/+36
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-15/+13
2013-08-03audio_format: convert to C++Max Kellermann1-46/+46
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann1-1/+1
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-04-09pcm_export: convert to C++Max Kellermann1-13/+11
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-02-22mixer_plugin: convert to C++Max Kellermann1-1/+1
2013-02-04output/alsa: workaround for noise after manual song changeMax Kellermann1-0/+20
Workaround for driver bug observed on the Raspberry Pi, see code comment for details.
2013-02-04output/alsa: pre-allocate the silence bufferMax Kellermann1-14/+15
2013-02-04output/alsa: move code to alsa_write_silence()Max Kellermann1-14/+23
2013-02-04output/alsa: default "device" is an empty stringMax Kellermann1-1/+1
Fixes nullptr dereference in std::string::operator=(). Also fixes a memory leak by using config_get_block_string() instead of config_dup_block_string().
2013-01-29output/{alsa,oss}: convert to C++Max Kellermann1-72/+78
2012-04-23output/alsa: multiply writei() result with out_frame_sizeMax Kellermann1-1/+3
.. and not in_frame_size, because this relates to the frame size being sent to ALSA. pcm_export_source_size() will then turn it back into the in_frame_size scale.
2012-04-23pcm_export: add _frame_size()Max Kellermann1-3/+1
Move code from the ALSA output plugin.
2012-04-23output/alsa: fix out_frame_size formula, multiply with channelsMax Kellermann1-1/+3
The hard-coded "3 bytes" was wrong because it ignored the number of channels.
2012-03-27audio_format: remove SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann1-1/+0
DSD-over-USB should not be a MPD core format, because it is not a "natural" format; it is just a temnporary over-the-wire format. This format has been implemented in pcm_export, and does not need to be supported by pcm_convert.
2012-03-27output/alsa: support 32 bit DSD-over-USBMax Kellermann1-4/+15
2012-03-27pcm_export: implement 24 to 32 bit conversionMax Kellermann1-1/+1
For 32 bit DSD-over-USB support.
2012-03-27output/alsa: use pcm_export for the DSD-over-USB conversionMax Kellermann1-11/+10
2012-03-27pcm_export: support DSD to DSD-over-USB conversionMax Kellermann1-3/+5
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB.
2012-03-27output/alsa: move pcm_export_open() to callerMax Kellermann1-11/+16
Give the caller more control, prepare for DSD-over-USB improvements.
2012-03-27output/alsa: more debug outputMax Kellermann1-0/+8
2012-03-22output/alsa: add option to enable DSD over USBMax Kellermann1-1/+54
2012-03-22output/alsa: split the frame_size attributeMax Kellermann1-6/+18
Make it in_frame_size and out_frame_size, to account for packing.
2012-03-22audio_format: remove the packed S24 formatMax Kellermann1-1/+0
For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead.
2012-03-22output/alsa: use pcm_export to pack 24 bit samplesMax Kellermann1-15/+48