All of lore.kernel.org
 help / color / mirror / Atom feed
* PulseAudio and SNDRV_PCM_INFO_BATCH
@ 2015-06-12 12:29 Arun Raghavan
  2015-06-12 12:32 ` Arun Raghavan
  2015-06-15  8:03 ` Lars-Peter Clausen
  0 siblings, 2 replies; 39+ messages in thread
From: Arun Raghavan @ 2015-06-12 12:29 UTC (permalink / raw)
  To: alsa-devel
  Cc: Takashi Iwai, Tanu Kaskinen, Lars-Peter Clausen, clemens,
	David Henningsson

Hi folks,
I'd like to bring this one up again, since we are currently in the
sub-optimal position of forcing ~100 ms latency on USB devices. The
original thread is here --
http://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/069666.html

I see two flags that are possibly of consequence here:
SNDRV_PCM_INFO_BATCH and SNDRV_PCM_INFO_BLOCK_TRANSFER. I'm not sure
what these mean -- the documentation mentions "double buffering" for
the batch flag, and just that the block transfer means "block
transfer". :-)

We've spoken about batch meaning either transfers in period size
chunks, or some fixed chunk size. It seems that it would make more
sense for it to mean the former, and block transfer to mean the
latter.

So I guess the first thing that would be nice to have is a clear
meaning of these two flags. With this done, we could potentially get
to the API to report the transfer size from the driver.

I did notice that there is a snd_pcm_hw_params_get_fifo_size(). Is
this something we could use for the purpose of transfer size
reporting, by any chance?

Cheers,
Arun

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2015-06-28  2:09 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 12:29 PulseAudio and SNDRV_PCM_INFO_BATCH Arun Raghavan
2015-06-12 12:32 ` Arun Raghavan
2015-06-12 13:43   ` Alexander E. Patrakov
2015-06-12 13:57     ` Alexander E. Patrakov
2015-06-17  3:04     ` Raymond Yau
2015-06-17  3:38       ` Alexander E. Patrakov
2015-06-15  3:42   ` Raymond Yau
2015-06-15  8:03 ` Lars-Peter Clausen
2015-06-15 11:39   ` Raymond Yau
2015-06-15 12:01     ` Lars-Peter Clausen
2015-06-15 13:34       ` Raymond Yau
2015-06-15 14:16         ` Lars-Peter Clausen
2015-06-16  2:33           ` Raymond Yau
2015-06-17  8:27             ` Lars-Peter Clausen
2015-06-17  9:19               ` Takashi Iwai
2015-06-17 15:09                 ` David Henningsson
2015-06-17 16:48                   ` Alexander E. Patrakov
2015-06-18  3:15                     ` Raymond Yau
2015-06-19 11:19                       ` Alexander E. Patrakov
2015-06-19  1:17                   ` Raymond Yau
2015-06-19 11:32                   ` Takashi Iwai
2015-06-20  3:24                     ` Raymond Yau
2015-06-20  6:17                     ` Raymond Yau
2015-06-22  2:35           ` Raymond Yau
2015-06-22  6:43             ` Lars-Peter Clausen
2015-06-22  7:49               ` Raymond Yau
2015-06-22  9:41               ` Clemens Ladisch
2015-06-22 11:54                 ` Raymond Yau
2015-06-22 12:10                   ` Alexander E. Patrakov
2015-06-22 12:34                     ` Raymond Yau
2015-06-22 12:49                       ` Alexander E. Patrakov
2015-06-22 15:50                         ` Raymond Yau
2015-06-22 16:28                           ` Alexander E. Patrakov
2015-06-24  5:51                             ` Raymond Yau
2015-06-22 22:52                     ` Takashi Sakamoto
2015-06-27 15:28   ` Alexander E. Patrakov
2015-06-27 17:15     ` Clemens Ladisch
2015-06-27 17:58       ` Alexander E. Patrakov
2015-06-28  2:09         ` Raymond Yau

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.