From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753368AbeENMlq (ORCPT ); Mon, 14 May 2018 08:41:46 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:36116 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752776AbeENMlm (ORCPT ); Mon, 14 May 2018 08:41:42 -0400 X-Google-Smtp-Source: AB8JxZpohvl0fizYAWN/kH0gVFn/VOlM6BZNS7xzflMic+A5N/w1fJAF5jw3NmYO7qkMGb0XjOlvUqRInPXykt9CRtM= MIME-Version: 1.0 From: Muni Sekhar Date: Mon, 14 May 2018 18:11:41 +0530 Message-ID: Subject: sound: aplay\arecord audio frame flow To: alsa-devel , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w4ECfpBg024840 [ Please keep me in CC as I'm not subscribed to the list] Hi All, Is there anyway in the kernel sound subsystem to know when the application calls ‘aplay’ and anything starts playing? Also for arecord\aplay, Is there any way from kernel's point of view to know when it receives for example the first and last audio frames? -- Thanks, Sekhar From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muni Sekhar Subject: sound: aplay\arecord audio frame flow Date: Mon, 14 May 2018 18:11:41 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from mail-ot0-f193.google.com (mail-ot0-f193.google.com [74.125.82.193]) by alsa0.perex.cz (Postfix) with ESMTP id 22434266C1C for ; Mon, 14 May 2018 14:41:43 +0200 (CEST) Received: by mail-ot0-f193.google.com with SMTP id l12-v6so14059329oth.6 for ; Mon, 14 May 2018 05:41:43 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org WyBQbGVhc2Uga2VlcCBtZSBpbiBDQyBhcyBJJ20gbm90IHN1YnNjcmliZWQgdG8gdGhlIGxpc3Rd CgpIaSBBbGwsCgpJcyB0aGVyZSBhbnl3YXkgaW4gdGhlIGtlcm5lbCBzb3VuZCBzdWJzeXN0ZW0g dG8ga25vdyB3aGVuIHRoZQphcHBsaWNhdGlvbiBjYWxscyDigJhhcGxheeKAmSBhbmQgYW55dGhp bmcgc3RhcnRzIHBsYXlpbmc/CgpBbHNvIGZvciBhcmVjb3JkXGFwbGF5LCBJcyB0aGVyZSBhbnkg d2F5IGZyb20ga2VybmVsJ3MgcG9pbnQgb2Ygdmlldwp0byBrbm93IHdoZW4gaXQgcmVjZWl2ZXMg Zm9yIGV4YW1wbGUgdGhlIGZpcnN0IGFuZCBsYXN0IGF1ZGlvIGZyYW1lcz8KCgotLSAKVGhhbmtz LApTZWtoYXIKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K QWxzYS1kZXZlbCBtYWlsaW5nIGxpc3QKQWxzYS1kZXZlbEBhbHNhLXByb2plY3Qub3JnCmh0dHA6 Ly9tYWlsbWFuLmFsc2EtcHJvamVjdC5vcmcvbWFpbG1hbi9saXN0aW5mby9hbHNhLWRldmVsCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muni Sekhar Date: Mon, 14 May 2018 12:53:41 +0000 Subject: sound: aplay\arecord audio frame flow Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: alsa-devel , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org [ Please keep me in CC as I'm not subscribed to the list] Hi All, Is there anyway in the kernel sound subsystem to know when the application calls ‘aplay’ and anything starts playing? Also for arecord\aplay, Is there any way from kernel's point of view to know when it receives for example the first and last audio frames? -- Thanks, Sekhar