aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmConvert.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm/PcmDsd: remove "lsbfirst" supportMax Kellermann2014-08-231-2/+1
| | | | Unused. Bit reversing is done in the decoder.
* PcmConvert: Convert() returns ConstBufferMax Kellermann2014-08-121-7/+3
|
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* pcm/PcmConvert: move the Domain instance to Domain.cxxMax Kellermann2013-12-231-3/+2
| | | | | Rename pcm_convert_domain to pcm_domain. Move it out so we can use it without depending on the whole PcmConvert library.
* pcm/PcmResampler: convert to abstract interfaceMax Kellermann2013-11-301-24/+38
| | | | | | The PcmResampler interface is implemented by the two classes FallbackPcmResampler and LibsampleratePcmResampler. This prepares for adding more resampler libraries.
* pcm/PcmConvert: move code to new class GluePcmResamplerMax Kellermann2013-11-301-122/+12
|
* pcm/PcmConvert: move code to new class PcmChannelsConverterMax Kellermann2013-11-301-63/+22
|
* pcm/PcmConvert: move code to new class PcmFormatConverterMax Kellermann2013-11-301-59/+49
|
* pcm/PcmConvert: add AudioFormat parametersMax Kellermann2013-11-301-42/+41
| | | | | | | Don't use src_format. In the middle of Convert(), the current AudioFormat has already been modified, it's now something in between src_format and dest_format. This simplifies keeping track of what remains to be done.
* pcm/PcmConvert: use struct ConstBuffer internallyMax Kellermann2013-11-291-46/+31
|
* pcm/PcmDsd: use struct ConstBufferMax Kellermann2013-11-291-11/+12
|
* PcmConvert: add pcm_convert_global_init()Max Kellermann2013-11-291-0/+6
| | | | | Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too.
* PcmConvert: fix src_format corruption when converting from DSDMax Kellermann2013-11-281-6/+5
| | | | | | | Method PcmConvert::Convert() modifies the src_format variable. This used to be a parameter, however commit d2679f59c made it an attribute instead. The modification to src_format persisted, and the next call would return garbage.
* PcmConvert: add methods Open(), Close()Max Kellermann2013-11-131-24/+44
| | | | | Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
* *: update copyright year to 2013Max Kellermann2013-10-301-1/+1
|
* *: use nullptr instead of NULLMax Kellermann2013-10-281-26/+26
|
* pcm_pack: convert to C++Max Kellermann2013-10-161-1/+0
|
* Client, ...: remove unnecessary glib.h includeMax Kellermann2013-10-151-2/+0
|
* Log: new logging library APIMax Kellermann2013-10-021-3/+0
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* util/Error: new error passing libraryMax Kellermann2013-09-041-50/+54
| | | | Replaces GLib's GError.
* audio_format: convert to C++Max Kellermann2013-08-031-71/+71
|
* pcm_buffer: convert to C++Max Kellermann2013-07-301-12/+8
|
* pcm_resample: convert to C++Max Kellermann2013-07-301-26/+18
|
* PcmConvert: don't memset() in the constructorMax Kellermann2013-07-301-4/+2
| | | | | This destroys data inside PcmDsd and other attributes. It was once necessary, but is not anymore.
* pcm_dsd: convert to C++Max Kellermann2013-07-291-7/+4
|
* pcm_*: move to src/pcm/Max Kellermann2013-04-091-0/+326