summaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio_hw.c')
-rwxr-xr-xaudio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 744edbc..9f5bff9 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1325,7 +1325,7 @@ static ssize_t out_write(struct audio_stream_out *stream, const void* buffer,
if (out->echo_reference != NULL) {
struct echo_reference_buffer b;
b.raw = (void *)buffer;
- b.frame_count = out_frames;
+ b.frame_count = in_frames;
get_playback_delay(out, out_frames, &b);
out->echo_reference->write(out->echo_reference, &b);