diff options
author | 2010-01-31 18:30:53 +0100 | |
---|---|---|
committer | 2010-01-31 18:30:53 +0100 | |
commit | d1e517afa8d1984004e75e5cf84049c762e87f8e (patch) | |
tree | 34aa446030fed870e935d699cc771bf1a5751dd9 /plugins/flac | |
parent | f089b7806f15d036e3ab8866bf2bb6f282ca3695 (diff) |
fixed flac read_float32 (distortion bug);
refactored libsamplerate support code;
removed old unused mutex code
Diffstat (limited to 'plugins/flac')
-rw-r--r-- | plugins/flac/flac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index b45b0205..82656795 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -366,7 +366,7 @@ cflac_read_float32 (char *bytes, int size) { do { if (remaining) { int n_input_frames = remaining / sizeof (float) / n_output_channels; - int n_output_frames = size / n_output_channels / sizeof (int16_t); + int n_output_frames = size / n_output_channels / sizeof (float); int n = min (n_input_frames, n_output_frames); float *in = (float *)buffer; |