[CLEANUP] Remove unused function
Cleanup whitespace->tabs git-svn-id: https://svn.musicpd.org/mpd/trunk@4338 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
2a4a75d9c7
commit
a8938c91ba
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user