From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 3B1E348A8B for ; Tue, 27 Feb 2024 17:53:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F044F68CC2A; Tue, 27 Feb 2024 19:53:27 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 894C768C60C for ; Tue, 27 Feb 2024 19:53:21 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id E195A20005 for ; Tue, 27 Feb 2024 17:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1709056401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O82UNIu2Tx8MAtxFk3kfSrw566ZQ2jRLFB2z5qtL+Mo=; b=hxor5slxUAzx1HNSlUTQyP0fL3sl8pNrsOXHTTGsy0X01mWL/selWXgqCghaqvycdkf1q6 Ao8bK/2vGTKG8R1bHNbEn1WO7p5ENSikDXDwMmWNyUGr6fgW5z77JMTFNCP5hTfAjKSUzQ I9K74UMFsQbOY6fM15nn/n6/77fB2rhs7m4X0w6x35sQ4o5DEGfZry/atndREaxItOUeeK 67Daxxh77xSrHJ2jONnjbQtBrntknokNt91tcpkdu79k2jz9ZqGrqhn0ivpBG+8yk1fMW7 QXWSFa0D1jjkhdky4dHWM4WhZyy73RoOPRdNkBMzRgUwTl3bhM/Dm4BxhDBT5w== Date: Tue, 27 Feb 2024 18:53:20 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240227175320.GY6420@pb2> References: <20240226221940.GV6420@pb2> <20240227094810.1182-1-cus@passwd.hu> MIME-Version: 1.0 In-Reply-To: <20240227094810.1182-1-cus@passwd.hu> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/2] swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============0890854867156837679==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0890854867156837679== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mU+ixClVgLjb2xZh" Content-Disposition: inline --mU+ixClVgLjb2xZh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 10:48:09AM +0100, Marton Balint wrote: > Depending on input chunk size noticable corrpution was hearable, here is = an > example command line: >=20 > ffplay -f lavfi -i "sine=3D440:r=3D8000:samples_per_frame=3D32,aresample= =3D24000:filter_size=3D1:phase_shift=3D0" >=20 > Fix this by rounding the fixed point fractions up instead of down. >=20 > Signed-off-by: Marton Balint > --- > libswresample/resample.c | 4 ++-- > tests/fate/libswresample.mak | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) probably ok thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety -- Benjamin Franklin --mU+ixClVgLjb2xZh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZd4hhgAKCRBhHseHBAsP q0dwAJ9E5bhOsGEcWL/HNOmSALt4XvETpgCgh+dtpw9SPr1wnuYDk0nNLwUIk2I= =nNDP -----END PGP SIGNATURE----- --mU+ixClVgLjb2xZh-- --===============0890854867156837679== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============0890854867156837679==--