Commit 53798b30 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fix total_output_frames bug.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 7d604819
......@@ -670,7 +670,7 @@ add_stream_watermark (AudioInputStream *in_stream, AudioOutputStream *out_stream
frames = limiter.skip (frames);
err = out_stream->write_frames (vector<float> (frames * n_channels));
total_output_frames += samples.size() / n_channels;
total_output_frames += frames;
zero_frames -= Params::frame_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment