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
4d102c47
Commit
4d102c47
authored
Jan 14, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm/Dsd2Pcm: convert parameter to `bool`
parent
91bc41ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Dsd2Pcm.cxx
src/pcm/Dsd2Pcm.cxx
+1
-2
Dsd2Pcm.hxx
src/pcm/Dsd2Pcm.hxx
+1
-1
No files found.
src/pcm/Dsd2Pcm.cxx
View file @
4d102c47
...
...
@@ -195,7 +195,7 @@ void
dsd2pcm_translate
(
dsd2pcm_ctx
*
ptr
,
size_t
samples
,
const
unsigned
char
*
src
,
ptrdiff_t
src_stride
,
int
lsbf
,
bool
lsbf
,
float
*
dst
,
ptrdiff_t
dst_stride
)
noexcept
{
unsigned
ffp
;
...
...
@@ -204,7 +204,6 @@ dsd2pcm_translate(dsd2pcm_ctx *ptr,
unsigned
char
*
p
;
double
acc
;
ffp
=
ptr
->
fifopos
;
lsbf
=
lsbf
?
1
:
0
;
while
(
samples
--
>
0
)
{
bite1
=
*
src
&
0xFFu
;
if
(
lsbf
)
bite1
=
bit_reverse
(
bite1
);
...
...
src/pcm/Dsd2Pcm.hxx
View file @
4d102c47
...
...
@@ -83,7 +83,7 @@ void
dsd2pcm_translate
(
dsd2pcm_ctx
*
ctx
,
size_t
samples
,
const
unsigned
char
*
src
,
ptrdiff_t
src_stride
,
int
lsbitfirst
,
bool
lsbitfirst
,
float
*
dst
,
ptrdiff_t
dst_stride
)
noexcept
;
#endif
/* include guard DSD2PCM_H_INCLUDED */
...
...
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