* trigger timestamp
@ 2021-06-30 23:41 ` Muni Sekhar
0 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-06-30 23:41 UTC (permalink / raw)
To: alsa-devel, kernelnewbies
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?
--
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 12+ messages in thread
* trigger timestamp
@ 2021-06-30 23:41 ` Muni Sekhar
0 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-06-30 23:41 UTC (permalink / raw)
To: alsa-devel, kernelnewbies
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?
--
Thanks,
Sekhar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
2021-06-30 23:41 ` Muni Sekhar
@ 2021-07-08 11:29 ` Takashi Iwai
-1 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 11:29 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
@ 2021-07-08 11:29 ` Takashi Iwai
0 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 11:29 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
2021-07-08 11:29 ` Takashi Iwai
@ 2021-07-08 12:19 ` Muni Sekhar
-1 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-07-08 12:19 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, kernelnewbies
On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
>
> 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.
Does aplay and arecord have any command line options to get the
trigger_tstamp? If not how to get it?
>
>
> HTH,
>
> Takashi
--
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
@ 2021-07-08 12:19 ` Muni Sekhar
0 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-07-08 12:19 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, kernelnewbies
On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
>
> 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.
Does aplay and arecord have any command line options to get the
trigger_tstamp? If not how to get it?
>
>
> HTH,
>
> Takashi
--
Thanks,
Sekhar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
2021-07-08 12:19 ` Muni Sekhar
@ 2021-07-08 12:32 ` Takashi Iwai
-1 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 12:32 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
On Thu, 08 Jul 2021 14:19:12 +0200,
Muni Sekhar wrote:
>
> On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> >
> > 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.
> Does aplay and arecord have any command line options to get the
> trigger_tstamp? If not how to get it?
Implement some code :)
Alternatively you can check the proc output contents in
/proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
stop timestamp, though (as the application closes the stream
immediately after that).
Takashi
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
@ 2021-07-08 12:32 ` Takashi Iwai
0 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 12:32 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
On Thu, 08 Jul 2021 14:19:12 +0200,
Muni Sekhar wrote:
>
> On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> >
> > 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.
> Does aplay and arecord have any command line options to get the
> trigger_tstamp? If not how to get it?
Implement some code :)
Alternatively you can check the proc output contents in
/proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
stop timestamp, though (as the application closes the stream
immediately after that).
Takashi
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
2021-07-08 12:32 ` Takashi Iwai
@ 2021-07-08 16:11 ` Muni Sekhar
-1 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-07-08 16:11 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, kernelnewbies
On Thu, Jul 8, 2021 at 6:02 PM Takashi Iwai <tiwai@suse.de> wrote:
>
> On Thu, 08 Jul 2021 14:19:12 +0200,
> Muni Sekhar wrote:
> >
> > On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > 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.
> > Does aplay and arecord have any command line options to get the
> > trigger_tstamp? If not how to get it?
>
> Implement some code :)
>
> Alternatively you can check the proc output contents in
> /proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
> stop timestamp, though (as the application closes the stream
> immediately after that).
How to specify if i want the REALTIME/MONOTONIC_RAW trigger_time
timestamp type output in /proc/asound/card*/pcm*/sub*/status?
>
>
> Takashi
--
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
@ 2021-07-08 16:11 ` Muni Sekhar
0 siblings, 0 replies; 12+ messages in thread
From: Muni Sekhar @ 2021-07-08 16:11 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, kernelnewbies
On Thu, Jul 8, 2021 at 6:02 PM Takashi Iwai <tiwai@suse.de> wrote:
>
> On Thu, 08 Jul 2021 14:19:12 +0200,
> Muni Sekhar wrote:
> >
> > On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > 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.
> > Does aplay and arecord have any command line options to get the
> > trigger_tstamp? If not how to get it?
>
> Implement some code :)
>
> Alternatively you can check the proc output contents in
> /proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
> stop timestamp, though (as the application closes the stream
> immediately after that).
How to specify if i want the REALTIME/MONOTONIC_RAW trigger_time
timestamp type output in /proc/asound/card*/pcm*/sub*/status?
>
>
> Takashi
--
Thanks,
Sekhar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
2021-07-08 16:11 ` Muni Sekhar
@ 2021-07-08 16:15 ` Takashi Iwai
-1 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 16:15 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
On Thu, 08 Jul 2021 18:11:13 +0200,
Muni Sekhar wrote:
>
> On Thu, Jul 8, 2021 at 6:02 PM Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Thu, 08 Jul 2021 14:19:12 +0200,
> > Muni Sekhar wrote:
> > >
> > > On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > 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.
> > > Does aplay and arecord have any command line options to get the
> > > trigger_tstamp? If not how to get it?
> >
> > Implement some code :)
> >
> > Alternatively you can check the proc output contents in
> > /proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
> > stop timestamp, though (as the application closes the stream
> > immediately after that).
> How to specify if i want the REALTIME/MONOTONIC_RAW trigger_time
> timestamp type output in /proc/asound/card*/pcm*/sub*/status?
It's not provided in a standard tool and you have to write some
program by yourself, I suppose.
Takashi
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: trigger timestamp
@ 2021-07-08 16:15 ` Takashi Iwai
0 siblings, 0 replies; 12+ messages in thread
From: Takashi Iwai @ 2021-07-08 16:15 UTC (permalink / raw)
To: Muni Sekhar; +Cc: alsa-devel, kernelnewbies
On Thu, 08 Jul 2021 18:11:13 +0200,
Muni Sekhar wrote:
>
> On Thu, Jul 8, 2021 at 6:02 PM Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Thu, 08 Jul 2021 14:19:12 +0200,
> > Muni Sekhar wrote:
> > >
> > > On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > 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.
> > > Does aplay and arecord have any command line options to get the
> > > trigger_tstamp? If not how to get it?
> >
> > Implement some code :)
> >
> > Alternatively you can check the proc output contents in
> > /proc/asound/card*/pcm*/sub*/status. It'd be difficult to see the
> > stop timestamp, though (as the application closes the stream
> > immediately after that).
> How to specify if i want the REALTIME/MONOTONIC_RAW trigger_time
> timestamp type output in /proc/asound/card*/pcm*/sub*/status?
It's not provided in a standard tool and you have to write some
program by yourself, I suppose.
Takashi
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-07-08 16:16 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 23:41 trigger timestamp Muni Sekhar
2021-06-30 23:41 ` Muni Sekhar
2021-07-08 11:29 ` Takashi Iwai
2021-07-08 11:29 ` Takashi Iwai
2021-07-08 12:19 ` Muni Sekhar
2021-07-08 12:19 ` Muni Sekhar
2021-07-08 12:32 ` Takashi Iwai
2021-07-08 12:32 ` Takashi Iwai
2021-07-08 16:11 ` Muni Sekhar
2021-07-08 16:11 ` Muni Sekhar
2021-07-08 16:15 ` Takashi Iwai
2021-07-08 16:15 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.