diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pdbox/PDa/src/d_soundfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_soundfile.c b/apps/plugins/pdbox/PDa/src/d_soundfile.c index 67a80c9..a231923 100644 --- a/apps/plugins/pdbox/PDa/src/d_soundfile.c +++ b/apps/plugins/pdbox/PDa/src/d_soundfile.c @@ -1129,7 +1129,7 @@ static void soundfiler_read(t_soundfiler *x, t_symbol *s, int thisread = finalsize - itemsread; thisread = (thisread > bufframes ? bufframes : thisread); #ifdef ROCKBOX - nitems = read(fp, sampbuf, thisread * bytespersamp * channels) / bytespersamp; + nitems = read(fp, sampbuf, thisread * bytespersamp * channels) / (bytespersamp * channels); #else nitems = fread(sampbuf, channels * bytespersamp, thisread, fp); #endif |