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
bd01d80f
Commit
bd01d80f
authored
Jan 07, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm/Utils: remove unused function pcm_end_pointer()
parent
7eda72d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
PcmUtils.hxx
src/pcm/PcmUtils.hxx
+0
-12
No files found.
src/pcm/PcmUtils.hxx
View file @
bd01d80f
...
...
@@ -30,18 +30,6 @@ enum class SampleFormat : uint8_t;
template
<
SampleFormat
F
>
struct
SampleTraits
;
/**
* Add a byte count to the specified pointer. This is a utility
* function to convert a source pointer and a byte count to an "end"
* pointer for use in loops.
*/
template
<
typename
T
>
static
inline
const
T
*
pcm_end_pointer
(
const
T
*
p
,
size_t
size
)
{
return
(
const
T
*
)((
const
uint8_t
*
)
p
+
size
);
}
/**
* Check if the value is within the range of the provided bit size,
* and caps it if necessary.
*/
...
...
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