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
8f9b3cbf
Commit
8f9b3cbf
authored
Jun 17, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm/Dop: add separate dsd_buffer for DSD_U16/32
The dop_buffer will be moved out soon.
parent
458a1bee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Export.cxx
src/pcm/Export.cxx
+2
-2
Export.hxx
src/pcm/Export.hxx
+7
-0
No files found.
src/pcm/Export.cxx
View file @
8f9b3cbf
...
...
@@ -158,12 +158,12 @@ PcmExport::Export(ConstBuffer<void> data) noexcept
#ifdef ENABLE_DSD
if
(
dsd_u16
)
data
=
Dsd8To16
(
d
op
_buffer
,
channels
,
data
=
Dsd8To16
(
d
sd
_buffer
,
channels
,
ConstBuffer
<
uint8_t
>::
FromVoid
(
data
))
.
ToVoid
();
if
(
dsd_u32
)
data
=
Dsd8To32
(
d
op
_buffer
,
channels
,
data
=
Dsd8To32
(
d
sd
_buffer
,
channels
,
ConstBuffer
<
uint8_t
>::
FromVoid
(
data
))
.
ToVoid
();
...
...
src/pcm/Export.hxx
View file @
8f9b3cbf
...
...
@@ -42,6 +42,13 @@ class PcmExport {
#ifdef ENABLE_DSD
/**
* The buffer is used to convert DSD samples to DSD_U16 or DSD_U32.
*
* @see #dsd_u16, #dsd_u32
*/
PcmBuffer
dsd_buffer
;
/**
* The buffer is used to convert DSD samples to the
* DoP format.
*
...
...
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