From 9b9d189a333705818783e51da10d21511379124f Mon Sep 17 00:00:00 2001 From: Jurgen Kramer Date: Fri, 4 Jul 2014 14:15:09 +0200 Subject: decoder/dsf: Allow up to DSD512. Enable DSD rates based on Fs=48kHz --- src/decoder/plugins/DsdLib.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/decoder/plugins/DsdLib.hxx') diff --git a/src/decoder/plugins/DsdLib.hxx b/src/decoder/plugins/DsdLib.hxx index 5250922ac..4d5830702 100644 --- a/src/decoder/plugins/DsdLib.hxx +++ b/src/decoder/plugins/DsdLib.hxx @@ -66,6 +66,13 @@ bool dsdlib_skip(Decoder *decoder, InputStream &is, uint64_t delta); +/** + * Check if the sample frequency is a valid DSD frequency. + **/ +gcc_const +bool +dsdlib_valid_freq(uint32_t samplefreq); + /** * Add tags from ID3 tag. All tags commonly found in the ID3 tags of * DSF and DSDIFF files are imported -- cgit v1.2.3