Changeset 8d6f3bcb in ffmpeg
- Timestamp:
-
Nov 29, 2024, 8:16:22 PM
(3 days ago)
- Author:
- Marton Balint <cus@passwd.hu>
- Branches:
- master
- Children:
- f5948543
- Parents:
- 06247ae7
- git-author:
- Marton Balint <cus@passwd.hu> (11/10/24 00:14:06)
- git-committer:
- Marton Balint <cus@passwd.hu> (11/29/24 20:16:22)
- Message:
-
avfilter/asrc_sine: increase frequency accuracy
Previously the delta phase was fixed point fractional with 232 fractions,
which caused inaccuracies in the output frequency, unless the input
frequency*232 was divisable by the sample rate.
This patch improves frequency accuracy by tracking subfractions of the delta
phase fractions. For this we are using a denominator which is a multiple of the
sample rate, making sure that integer frequencies are always accurately
represented.
Signed-off-by: Marton Balint <cus@passwd.hu>
-
(No files)
-