Reindenting
git-svn-id: https://svn.musicpd.org/mpd/trunk@6199 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
92ff09881a
commit
f2850a66f0
@ -153,7 +153,8 @@ void pcm_mix(char *buffer1, char *buffer2, size_t bufferSize1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LIBSAMPLERATE
|
#ifdef HAVE_LIBSAMPLERATE
|
||||||
static int pcm_getSamplerateConverter(void) {
|
static int pcm_getSamplerateConverter(void)
|
||||||
|
{
|
||||||
const char *conf, *test;
|
const char *conf, *test;
|
||||||
int convalgo = SRC_SINC_FASTEST;
|
int convalgo = SRC_SINC_FASTEST;
|
||||||
int newalgo;
|
int newalgo;
|
||||||
@ -185,8 +186,9 @@ static int pcm_getSamplerateConverter(void) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* outFormat bits must be 16 and channels must be 2! */
|
/* outFormat bits must be 16 and channels must be 2! */
|
||||||
void pcm_convertAudioFormat(AudioFormat * inFormat, char *inBuffer, size_t
|
void pcm_convertAudioFormat(AudioFormat * inFormat, char *inBuffer,
|
||||||
inSize, AudioFormat * outFormat, char *outBuffer)
|
size_t inSize, AudioFormat * outFormat,
|
||||||
|
char *outBuffer)
|
||||||
{
|
{
|
||||||
static char *bitConvBuffer;
|
static char *bitConvBuffer;
|
||||||
static int bitConvBufferLength;
|
static int bitConvBufferLength;
|
||||||
|
Loading…
Reference in New Issue
Block a user