projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
226ce82
)
Set channels and samplerate of the filter chain
author
Andre Noll
<maan@systemlinux.org>
Tue, 6 Oct 2009 21:25:23 +0000
(23:25 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:11 +0000
(19:34 +0100)
wmadec_filter.c
patch
|
blob
|
history
diff --git
a/wmadec_filter.c
b/wmadec_filter.c
index 8298296df3cc5fc3f42006a09abe5d0569725138..2ab6c178329b76066f09dd71180b2f93ede2d710 100644
(file)
--- a/
wmadec_filter.c
+++ b/
wmadec_filter.c
@@
-1286,6
+1286,8
@@
static ssize_t wmadec_convert(char *inbuffer, size_t len,
if (ret <= 0)
return ret;
fn->private_data = pwd;
+ fn->fc->channels = pwd->ahi.channels;
+ fn->fc->samplerate = pwd->ahi.sample_rate;
return pwd->ahi.header_len;
}
/* skip 31 bytes */