Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7D1D1C46CD2 for ; Tue, 9 Jan 2024 10:17:50 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3C769203; Tue, 9 Jan 2024 11:17:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3C769203 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1704795468; bh=+94a8tc76Thd4Dc+km10C7S+eGD4ggn+6hn0r7Jekpw=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=iBOT/SN47n+xt+mP9EdkTEz7aqmT8xN5N7rMWaoqqz1AY5z0e1kQsFgu96fKGrpkx 4Dv6Ifk1JsW+gy7VPLKTciR+/otwqxTC7LwhGC86NMKjDag3zUt8A8tDzLkXG6Gu0f vmbcbiLbkludzoFb2JawN+D9KNcU5P8I5Ioc/MsQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4B431F80578; Tue, 9 Jan 2024 11:17:05 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 6196BF8059F; Tue, 9 Jan 2024 11:17:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 99371F80254; Tue, 9 Jan 2024 11:17:01 +0100 (CET) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 00CA9F80086 for ; Tue, 9 Jan 2024 11:16:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 00CA9F80086 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org In-Reply-To: <1704795412941235304-webhooks-bot@alsa-project.org> References: <1704795412941235304-webhooks-bot@alsa-project.org> Subject: External I/O-Plugin API is missing precise timestamp control Message-Id: <20240109101701.99371F80254@alsa1.perex.cz> Date: Tue, 9 Jan 2024 11:17:01 +0100 (CET) Message-ID-Hash: PXVGU6P2TRTNH3BDN4KDXMWOSGOOPQPK X-Message-ID-Hash: PXVGU6P2TRTNH3BDN4KDXMWOSGOOPQPK X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-lib issue #377 was opened from z-s-e: Unless I overlooked something, it seems not possible for an ioplug plugin to influence the timestamps reported by `snd_pcm_status_get_htstamp()` - I suppose those are rather autogenerated by the lib and thus of fairly low precision. Also, at the moment it is possible that a status update contains newer timestamps than a previous update, but without an increased `snd_pcm_status_get_avail()` value, which makes these autogenerated timestamps not very well behaved. It would be much better if there was a way for a plugin to tell the alsa-lib which timestamps it should forward to the user. Issue URL : https://github.com/alsa-project/alsa-lib/issues/377 Repository URL: https://github.com/alsa-project/alsa-lib