From nobody Wed Nov 29 21:07:28 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SgX2n0X44z52FqF; Wed, 29 Nov 2023 21:07:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgX2n021Lz4hmC; Wed, 29 Nov 2023 21:07:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701292049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cLxxbUQXw6M1cEaI/rp8HJuHul19yqy8WQ3IcpMGncI=; b=B+SQGPt5rbbiQHIaSx7Sq0ExSPsr7XWh6OH2Zgbsel1zgc7AVf80Dho9gdaZQ2p4x49EPa qSV6PRT2uJFURJnov9AL3MLbM2ipKFdvt+auxoG2cXZntnx4l562+fOLvcBknHpD++96vb AheyYnD3BmwnJfaRL/8pEL+CiBZU8BDr13opVBQE579VVZhTkENSSETmJwvgCLmtshf/SZ +pSq+7Uo1qYAxAZXctF7OmPAZVsjF5zY7geM/uqil43pxadlA2IL/D6+ioAvQBpoLWSERt JFlSFlngS1hIU0ILKgsiLQE8SRqkAog50tTmMtJnsSDwMuw/6l+vn6evbtGP3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701292049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cLxxbUQXw6M1cEaI/rp8HJuHul19yqy8WQ3IcpMGncI=; b=MXVdFe/zZC5CfuDVazhDg+ON4q1GhPpcHxOKuaF+vF1MseVrJws1Y8YxlbST/NAp29qPf1 7exTtyx+Z+j9zCftQsQG3K09RJ/WhlQNC+81SS7IK5FLwtMntfHAXzQ1XAuz/wNy2DB0Oz ibdpj6us6jAtWt4shGHQ4fe3FphNwVAZzE8Y2033xcteg4oxWi36WPwkuSCHkABqthzYex re5UGzB2DLC/t5KaQ5WB0vebbbgDYEUH+4c+Tq3czElw2PBgPAgVaT31PQzK43YS5Utm/z sq10Fj/cvWxiWCc1onzpPkORGKXb4/0SeI5boiqrUut+4qmwxN4K/8mwMzPR3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701292049; a=rsa-sha256; cv=none; b=GW0tZb0yZgJ3RsJXpdugGZrjAAmcT6WNI/ZDwmWiiLjYeYmRt+3OFKgugTuiJkK0wTOpiD 08KuEwP+9oTlBTX6BUness2aiK5vbwRQq1VrhOa574R/jO5uMAu5g6up6LNAjjbmoz64tg azy6pVM4LX7AqF0y/bcMHxaOuV/FQ+shMI+52F5sONA3796MThrF1EjXTSSKJ7KAtfJvlX yuyfRSnIlrlz81P3Baq+BixlYc2q4yLf/CC8uIXqcoBTULGOzf9F61PevfXsYZ2sVzGm+W 7t+mNEmjW8LX6rqv49wpam7U+Hkw+QHYV50yKVr1EpW7jTWiICmUutWpS9j9oA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SgX2m6BVGz6Dh; Wed, 29 Nov 2023 21:07:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ATL7SWG000377; Wed, 29 Nov 2023 21:07:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ATL7Sl8000374; Wed, 29 Nov 2023 21:07:28 GMT (envelope-from git) Date: Wed, 29 Nov 2023 21:07:28 GMT Message-Id: <202311292107.3ATL7Sl8000374@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: f05f058867c8 - main - audio/alsa-utils: aplaymidi doesn't play at the proper tempo List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f05f058867c8cba577ff6c6f90631e9940e947db Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=f05f058867c8cba577ff6c6f90631e9940e947db commit f05f058867c8cba577ff6c6f90631e9940e947db Author: Rodrigo Osorio AuthorDate: 2023-11-29 20:44:12 +0000 Commit: Rodrigo Osorio CommitDate: 2023-11-29 21:07:13 +0000 audio/alsa-utils: aplaymidi doesn't play at the proper tempo Add temporary patch to fix an issue with tempo events aplaymidi does not process tempo events because the part that handles tempo events was not rewritten sufficiently. It may be executed as a different event in songs that have tempo changes in the middle of the song. A similar fix was submitted to upstream as https://github.com/alsa-project/alsa-utils/issues/241 PR: 275349 Reported by: Tatsuki Makino --- audio/alsa-utils/Makefile | 1 + audio/alsa-utils/files/patch-seq_aplaymidi_aplaymidi.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile index 16ea4c0b46ba..b4498f4cad3f 100644 --- a/audio/alsa-utils/Makefile +++ b/audio/alsa-utils/Makefile @@ -1,5 +1,6 @@ PORTNAME= alsa-utils PORTVERSION= 1.2.10 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://www.alsa-project.org/files/pub/utils/ diff --git a/audio/alsa-utils/files/patch-seq_aplaymidi_aplaymidi.c b/audio/alsa-utils/files/patch-seq_aplaymidi_aplaymidi.c new file mode 100644 index 000000000000..03c821703455 --- /dev/null +++ b/audio/alsa-utils/files/patch-seq_aplaymidi_aplaymidi.c @@ -0,0 +1,11 @@ +--- seq/aplaymidi/aplaymidi.c.orig 2023-09-01 15:36:26 UTC ++++ seq/aplaymidi/aplaymidi.c +@@ -819,6 +819,8 @@ static void play_midi(void) + ev.time.tick = event->tick; + ev.dest = ports[event->port]; + if (event->type == SND_SEQ_EVENT_TEMPO) { ++ snd_seq_ev_set_fixed(&ev); ++ ev.type = event->type; + ev.dest.client = SND_SEQ_CLIENT_SYSTEM; + ev.dest.port = SND_SEQ_PORT_SYSTEM_TIMER; + ev.data.queue.queue = queue;