Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
f4b61e8c
Commit
f4b61e8c
authored
Nov 04, 2013
by
Jurgen Kramer
Committed by
Max Kellermann
Nov 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/dsf: enable DSD128
parent
e49a3d37
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
NEWS
+2
-0
DsfDecoderPlugin.cxx
src/decoder/DsfDecoderPlugin.cxx
+2
-2
No files found.
NEWS
View file @
f4b61e8c
ver 0.18.2 (2013/??/??)
ver 0.18.2 (2013/??/??)
* decoder:
- dsf: enable DSD128
* fix build failures due to missing includes
* fix build failures due to missing includes
ver 0.18.1 (2013/11/04)
ver 0.18.1 (2013/11/04)
...
...
src/decoder/DsfDecoderPlugin.cxx
View file @
f4b61e8c
...
@@ -128,12 +128,12 @@ dsf_read_metadata(Decoder *decoder, InputStream &is,
...
@@ -128,12 +128,12 @@ dsf_read_metadata(Decoder *decoder, InputStream &is,
uint32_t
samplefreq
=
FromLE32
(
dsf_fmt_chunk
.
sample_freq
);
uint32_t
samplefreq
=
FromLE32
(
dsf_fmt_chunk
.
sample_freq
);
/* for now, only support version 1 of the standard, DSD raw stereo
/* for now, only support version 1 of the standard, DSD raw stereo
files with a sample freq of 2822400 Hz */
files with a sample freq of 2822400
or 5644800
Hz */
if
(
dsf_fmt_chunk
.
version
!=
1
||
dsf_fmt_chunk
.
formatid
!=
0
if
(
dsf_fmt_chunk
.
version
!=
1
||
dsf_fmt_chunk
.
formatid
!=
0
||
dsf_fmt_chunk
.
channeltype
!=
2
||
dsf_fmt_chunk
.
channeltype
!=
2
||
dsf_fmt_chunk
.
channelnum
!=
2
||
dsf_fmt_chunk
.
channelnum
!=
2
||
samplefreq
!=
2822400
)
||
(
samplefreq
!=
2822400
&&
samplefreq
!=
5644800
)
)
return
false
;
return
false
;
uint32_t
chblksize
=
FromLE32
(
dsf_fmt_chunk
.
block_size
);
uint32_t
chblksize
=
FromLE32
(
dsf_fmt_chunk
.
block_size
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment