aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/OssOutputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-09output/oss: make the static arrays "constexpr"Max Kellermann1-3/+3
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-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-3/+2
Replacing GLib macros.
2013-10-15Util/Macros: replacement for GLib's G_N_ELEMENTS()Max Kellermann1-5/+6
2013-10-02Log: new logging library APIMax Kellermann1-10/+13
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-64/+50
Replaces GLib's GError.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-4/+5
2013-08-03audio_format: convert to C++Max Kellermann1-48/+48
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-04-17output/oss,null: use new/deleteMax Kellermann1-39/+31
2013-04-09pcm_export: convert to C++Max Kellermann1-10/+11
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-02-22mixer_plugin: convert to C++Max Kellermann1-1/+1
2013-01-29require GLib 2.24Max Kellermann1-1/+0
2013-01-29output/{alsa,oss}: convert to C++Max Kellermann1-29/+35
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-27pcm_export: implement 24 to 32 bit conversionMax Kellermann1-1/+1
For 32 bit DSD-over-USB support.
2012-03-27pcm_export: support DSD to DSD-over-USB conversionMax Kellermann1-3/+7
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB.
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/oss: use pcm_export to pack 24 bit samplesMax Kellermann1-10/+15
2012-03-22pcm_export: add option "pack"Max Kellermann1-0/+1
Converts padded 24 bit samples to packed 24 bit samples. Will replace the packed S24 sample format, which is not used internally.
2012-03-22output/oss: remember the real OSS formatMax Kellermann1-5/+13
Improving oss_reopen() by using the very same value that was used initially.
2012-03-21output/oss: move code to oss_probe_sample_format()Max Kellermann1-34/+59
2012-03-21output/{alsa,oss}: move endian code to new library pcm_exportMax Kellermann1-30/+13
2012-03-21output/oss: always receive host byte order samplesMax Kellermann1-7/+68
Don't use audio_format.reverse_endian.
2012-03-21audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann1-1/+0
This format is unused since the DSDIFF decoder plugin now reverses the bit order.
2012-03-19audio_format: basic support for DSD-over-USBMax Kellermann1-0/+1
2012-03-06use g_strerror() instead of strerror()Max Kellermann1-5/+5
Make sure we get a UTF-8 encoded string.
2012-03-01audio_format: add DSD sample formatMax Kellermann1-0/+2
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
2011-10-20audio_format: basic support for floating point samplesMax Kellermann1-0/+1
Support for conversion from float to 16, 24 and 32 bit integer samples.
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-17/+32
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs.
2011-09-17output: per-plugin headerMax Kellermann1-0/+1
Move the "extern" declarations from output_list.c, for more type safety.
2011-09-17output: rename plugin source filesMax Kellermann1-0/+0
2011-02-28output/oss: disable 24 bit playback on FreeBSDMax Kellermann1-0/+9
See code comment.
2011-02-28output/oss: AFMT_S24_PACKED is little-endianMax Kellermann1-0/+12
According to the Solaris dsp manpage, AFMT_S24_PACKED is little-endian: http://download.oracle.com/docs/cd/E19963-01/821-1475/6nmf5baot/index.html The Minix soundcard.h header says the same.
2011-02-09general: whitespace cleanupThomas Jansen1-1/+1
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-07-25database, ...: remove EINTR checks after stdio callsMax Kellermann1-1/+1
MPD doesn't have child processes anymore, and thus we're not expecting to receive SIGCHLD very often. Since hard disk access isn't interrupted by signals anyway, we don't need those excessive checks.
2010-05-14output/oss: 24 bit support via OSS4Max Kellermann1-0/+34
Added #ifdefs on the macros AFMT_S24_NE and other OSS4 extensions.
2010-05-13output/oss: rewrite of the audio format detectionMax Kellermann1-301/+324
Removed the "supported" / "unsupported" arrays, and auto-detect on every open() call, just like the ALSA output plugin.