Mans Rullgard <m...@mansr.com> writes:

> This adds support for reading DSD data from DSF files as specified by
> http://dsd-guide.com/sites/default/files/white-papers/DSFFileFormatSpec_E.pdf
>
> The 1-bit DSD samples are simply unpacked to sox_sample_t values of
> maximum or minimum value.  The "rate" filter can be used directly on
> this to obtain usable PCM samples.
>
> The format also allows 8-bit DSD-wide samples.  Such files are not
> supported by this patch.
>
> DSF files may include an ID3v2 metadata tag, which is not handled here.
> ---
>  src/Makefile.am |   2 +-
>  src/dsf.c       | 209 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/formats.h   |   1 +
>  3 files changed, 211 insertions(+), 1 deletion(-)
>  create mode 100644 src/dsf.c

Please disregard this patch.  I have a better one in the works.

-- 
Måns Rullgård
m...@mansr.com

------------------------------------------------------------------------------
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to