Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e827db3e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: Fix read offset for compress capture with timestamp"

parents 67c380df 82c2c2ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ static int msm_compr_read_buffer(struct msm_compr_audio *prtd)
		return ret;
	}
	prtd->bytes_read += buffer_length;
	prtd->bytes_read_offset += buffer_length;
	prtd->bytes_read_offset += buffer_length + prtd->ts_header_offset;
	if (prtd->bytes_read_offset >= prtd->buffer_size)
		prtd->bytes_read_offset -= prtd->buffer_size;