blob: 0bcd64f3ddbd832ce0c2fa488fc0dd510aee05f0 [file] [log] [blame] [edit]
--- libsamplerate-0.1.9.orig/examples/audio_out.c 2016-09-13 13:20:20.000000000 +0200
+++ libsamplerate-0.1.9/examples/audio_out.c 2017-01-29 21:33:26.991964100 +0100
@@ -823,8 +823,7 @@
return 0 ;
/* Do the actual audio. */
- sample_count = win32_out->bufferlen ;
- frame_count = sample_count / win32_out->channels ;
+ frame_count = win32_out->bufferlen / win32_out->channels ;
read_count = win32_out->callback (win32_out->callback_data, win32_out->float_buffer, frame_count) ;