projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split afs.h
[paraslash.git]
/
wav.c
diff --git
a/wav.c
b/wav.c
index 647be101dc7e89e8b5fe73e12899f7e2520a083b..e229317dd6309380263673f359de4d4d8d50e59b 100644
(file)
--- a/
wav.c
+++ b/
wav.c
@@
-18,7
+18,6
@@
/** \file wav.c a filter that inserts a wave header */
/** \file wav.c a filter that inserts a wave header */
-#include "gcc-compat.h"
#include "para.h"
#include "list.h"
#include "para.h"
#include "list.h"
@@
-72,7
+71,7
@@
static ssize_t wav_convert(char *inbuf, size_t len, struct filter_node *fn)
*bof = 0;
// return 0;
}
*bof = 0;
// return 0;
}
- copy = MIN(len, fn->bufsize - fn->loaded);
+ copy =
PARA_
MIN(len, fn->bufsize - fn->loaded);
memmove(fn->buf + fn->loaded, inbuf, copy);
fn->loaded += copy;
// PARA_DEBUG_LOG("len = %d, copy = %d\n", len, copy);
memmove(fn->buf + fn->loaded, inbuf, copy);
fn->loaded += copy;
// PARA_DEBUG_LOG("len = %d, copy = %d\n", len, copy);
@@
-96,7
+95,7
@@
static void wav_open(struct filter_node *fn)
fn->private_data = para_malloc(sizeof(int));
bof = fn->private_data;
*bof = 1;
fn->private_data = para_malloc(sizeof(int));
bof = fn->private_data;
*bof = 1;
- PARA_DEBUG_LOG("wav filter node: %p, output buffer: %p, loaded: %d\n",
+ PARA_DEBUG_LOG("wav filter node: %p, output buffer: %p, loaded: %
z
d\n",
fn, fn->buf, fn->loaded);
}
fn, fn->buf, fn->loaded);
}