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
a8938c91
Commit
a8938c91
authored
Jul 14, 2006
by
Avuton Olrich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEANUP] Remove unused function
Cleanup whitespace->tabs git-svn-id:
https://svn.musicpd.org/mpd/trunk@4338
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
2a4a75d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
18 deletions
+1
-18
pcm_utils.c
src/pcm_utils.c
+1
-16
pcm_utils.h
src/pcm_utils.h
+0
-2
No files found.
src/pcm_utils.c
View file @
a8938c91
...
...
@@ -26,21 +26,6 @@
#include <math.h>
#include <assert.h>
void
pcm_changeBufferEndianness
(
char
*
buffer
,
int
bufferSize
,
int
bits
)
{
char
temp
;
switch
(
bits
)
{
case
16
:
while
(
bufferSize
)
{
temp
=
*
buffer
;
*
buffer
=
*
(
buffer
+
1
);
*
(
buffer
+
1
)
=
temp
;
bufferSize
-=
2
;
}
break
;
}
}
void
pcm_volumeChange
(
char
*
buffer
,
int
bufferSize
,
AudioFormat
*
format
,
int
volume
)
{
...
...
@@ -85,7 +70,7 @@ void pcm_volumeChange(char * buffer, int bufferSize, AudioFormat * format,
}
}
void
pcm_add
(
char
*
buffer1
,
char
*
buffer2
,
size_t
bufferSize1
,
static
void
pcm_add
(
char
*
buffer1
,
char
*
buffer2
,
size_t
bufferSize1
,
size_t
bufferSize2
,
int
vol1
,
int
vol2
,
AudioFormat
*
format
)
{
mpd_sint32
temp32
;
...
...
src/pcm_utils.h
View file @
a8938c91
...
...
@@ -25,8 +25,6 @@
#include <stdlib.h>
void
pcm_changeBufferEndianness
(
char
*
buffer
,
int
bufferSize
,
int
bits
);
void
pcm_volumeChange
(
char
*
buffer
,
int
bufferSize
,
AudioFormat
*
format
,
int
volume
);
...
...
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