inc = in->priv;
+ total_samples = num_samples * inc->num_channels;
+ fdata = g_malloc0(total_samples * sizeof(float));
s = in->buf->str + offset;
- fdata = g_malloc0(CHUNK_SIZE * sizeof(float));
d = (char *)fdata;
- total_samples = num_samples * inc->num_channels;
+
for (samplenum = 0; samplenum < total_samples; samplenum++) {
if (inc->fmt_code == WAVE_FORMAT_PCM_) {
switch (inc->unitsize) {
{
struct context *inc;
int ret;
- char channelname[8];
+ char channelname[16];
g_string_append_len(in->buf, buf->str, buf->len);