From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5692C07E96 for ; Thu, 8 Jul 2021 11:31:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0FAC06142C for ; Thu, 8 Jul 2021 11:31:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FAC06142C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 523831658; Thu, 8 Jul 2021 13:30:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 523831658 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1625743866; bh=lFs8VEn+kiJQ+SEVb6QeSe21cF92hFi9Zb2OuzbnOhQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VI7c8z47o4vYZTkaGnStZfjZn6GKBqZWZbJEcJ6UBXfFM5hlLVaeixIRvgxM6oduM jG/GVYoCWhzU5RvNRMKUx5mXCztwb+5Zk2lDL1tGTlLwUv9Ek5wRFGz9nf914NeNPF RwwDNuErMOFbfvDabdpvcq2a4WVD98e7ZsktH9iU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 57524F80246; Thu, 8 Jul 2021 13:30:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4E7A0F80249; Thu, 8 Jul 2021 13:30:03 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4870EF8012A for ; Thu, 8 Jul 2021 13:29:57 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4870EF8012A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="njH5Ra1G"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="Ravj50GT" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 7C714201E3; Thu, 8 Jul 2021 11:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1625743797; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zGT0glD4gjRU00iAdMW44jqW8Zq8Y20Z1IEBYR3EpI=; b=njH5Ra1GLy4qQtNt7MWDEQOVh29ksubaoOD5nfijQbcdXhwVFo48Jrc+TDuAfXF35of2lv 9N+Iv71FaBFZz8oQzzPagNb+ZUERWisxEJL4AE4TO9I0mW/s24hFQtt4wCKfOjHbzbdinp v4uHipPRMVRlCctDLEXvI/NdtgiPeI8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1625743797; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zGT0glD4gjRU00iAdMW44jqW8Zq8Y20Z1IEBYR3EpI=; b=Ravj50GTZyYqkQNs4X7uroHXXAoZE7LsQcoIC8XVtmQg7vFNFEfk7LIK+kObsKDF4dXJYu K9IYH4AtDs0BFzBw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 39A81A3B89; Thu, 8 Jul 2021 11:29:57 +0000 (UTC) Date: Thu, 08 Jul 2021 13:29:57 +0200 Message-ID: From: Takashi Iwai To: Muni Sekhar Subject: Re: trigger timestamp In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel , kernelnewbies X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 01 Jul 2021 01:41:29 +0200, Muni Sekhar wrote: > > Hi all, > > >From the user space test application , Is it possible to get the > trigger timestamp corresponding to SNDRV_PCM_TRIGGER_START & > SNDRV_PCM_TRIGGER_STOP events for audio playback capture? That's exactly what trigger_tstamp of snd_pcm_status corresponds for. HTH, Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59C6CC07E96 for ; Thu, 8 Jul 2021 11:30:38 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD8EF61436 for ; Thu, 8 Jul 2021 11:30:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD8EF61436 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1m1SEF-0003UA-WC; Thu, 08 Jul 2021 07:30:04 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1m1SEE-0003Tj-G8 for kernelnewbies@kernelnewbies.org; Thu, 08 Jul 2021 07:30:02 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 7C714201E3; Thu, 8 Jul 2021 11:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1625743797; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zGT0glD4gjRU00iAdMW44jqW8Zq8Y20Z1IEBYR3EpI=; b=njH5Ra1GLy4qQtNt7MWDEQOVh29ksubaoOD5nfijQbcdXhwVFo48Jrc+TDuAfXF35of2lv 9N+Iv71FaBFZz8oQzzPagNb+ZUERWisxEJL4AE4TO9I0mW/s24hFQtt4wCKfOjHbzbdinp v4uHipPRMVRlCctDLEXvI/NdtgiPeI8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1625743797; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zGT0glD4gjRU00iAdMW44jqW8Zq8Y20Z1IEBYR3EpI=; b=Ravj50GTZyYqkQNs4X7uroHXXAoZE7LsQcoIC8XVtmQg7vFNFEfk7LIK+kObsKDF4dXJYu K9IYH4AtDs0BFzBw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 39A81A3B89; Thu, 8 Jul 2021 11:29:57 +0000 (UTC) Date: Thu, 08 Jul 2021 13:29:57 +0200 Message-ID: From: Takashi Iwai To: Muni Sekhar Subject: Re: trigger timestamp In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Cc: alsa-devel , kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, 01 Jul 2021 01:41:29 +0200, Muni Sekhar wrote: > > Hi all, > > >From the user space test application , Is it possible to get the > trigger timestamp corresponding to SNDRV_PCM_TRIGGER_START & > SNDRV_PCM_TRIGGER_STOP events for audio playback capture? That's exactly what trigger_tstamp of snd_pcm_status corresponds for. HTH, Takashi _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies