projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the osx writer has to wait for the next version..
[paraslash.git]
/
wav.c
diff --git
a/wav.c
b/wav.c
index e229317dd6309380263673f359de4d4d8d50e59b..5ab3bb3937385a855e7dd5fecdcc50635e3d1ac2 100644
(file)
--- a/
wav.c
+++ b/
wav.c
@@
-21,6
+21,7
@@
#include "para.h"
#include "list.h"
#include "para.h"
#include "list.h"
+#include "sched.h"
#include "filter.h"
#include "string.h"
#include "filter.h"
#include "string.h"
@@
-66,7
+67,7
@@
static ssize_t wav_convert(char *inbuf, size_t len, struct filter_node *fn)
int *bof = fn->private_data;
if (*bof) {
int *bof = fn->private_data;
if (*bof) {
- make_wav_header(fn->fc
i->channels, fn->fci
->samplerate, fn);
+ make_wav_header(fn->fc
->channels, fn->fc
->samplerate, fn);
fn->loaded = WAV_HEADER_LEN;
*bof = 0;
// return 0;
fn->loaded = WAV_HEADER_LEN;
*bof = 0;
// return 0;
@@
-95,7
+96,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: %zd\n",
+ PARA_
INFO
_LOG("wav filter node: %p, output buffer: %p, loaded: %zd\n",
fn, fn->buf, fn->loaded);
}
fn, fn->buf, fn->loaded);
}