diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-31 18:39:03 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-31 18:39:03 +0100 |
commit | 2b9cc2f2d6acdea2f274e834b40935a04127cdd0 (patch) | |
tree | 350a0275262164db82d93a64e10919f06a69d290 /streamer.c | |
parent | d1e517afa8d1984004e75e5cf84049c762e87f8e (diff) |
don't resample when input samplerate matches output
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -866,7 +866,7 @@ streamer_read_async (char *bytes, int size) { nchannels = 2; } int samplerate = decoder->info.samplerate; - if (decoder->info.samplerate == p_get_rate (), 0) { + if (decoder->info.samplerate == p_get_rate ()) { // samplerate match if (nchannels == 2) { bytesread = decoder->read_int16 (bytes, size); |