diff options
author | Jurgen Kramer <gtmkramer@xs4all.nl> | 2014-07-04 14:15:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-16 18:40:53 +0200 |
commit | 9b9d189a333705818783e51da10d21511379124f (patch) | |
tree | becd8f1e7d541e93d504f1779a0dd221064cdec4 /src/decoder/plugins/DsdLib.hxx | |
parent | 7c3af4f56f7171aacbe9bd26f2b30bb4f94e88f2 (diff) | |
download | mpd-9b9d189a333705818783e51da10d21511379124f.tar.gz mpd-9b9d189a333705818783e51da10d21511379124f.tar.xz mpd-9b9d189a333705818783e51da10d21511379124f.zip |
decoder/dsf: Allow up to DSD512. Enable DSD rates based on Fs=48kHz
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/DsdLib.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -67,6 +67,13 @@ 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 */ |