All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: how to calculate dma size in tdm mode
@ 2012-08-09  9:56 Scott Jiang
  2012-08-09 10:38 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Jiang @ 2012-08-09  9:56 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel

Hi Mark,

If user app use 2 channels but codec need 8 channels in tdm mode, I
need to copy this data from user space to dma buffer. I wonder how to
calculate dma size, snd_pcm_hardware.buffer_bytes_max or
buffer_bytes_max * tdm_channels / channels_min?

Thanks,
Scott

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

end of thread, other threads:[~2012-08-10  2:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09  9:56 ASoC: how to calculate dma size in tdm mode Scott Jiang
2012-08-09 10:38 ` Mark Brown
2012-08-10  2:46   ` Scott Jiang

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.