alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] introduce device_buffer
@ 2012-08-30 19:12 Vinod Koul
  2012-08-30 19:12 ` [PATCH 1/3] ALSA: pcm - " Vinod Koul
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vinod Koul @ 2012-08-30 19:12 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Vinod Koul, broonie, lrg

Old wine ina  new bottle, so here is the second attempt for adding the notion of
how devices (in my case a DSP) can buffer data and that can be used by sound
core

Vinod Koul (3):
  ALSA: pcm - introduce device_buffer
  ASoC: add device_buffer in asoc
  ASoC: mid-x86 - implement buffer query in sst_platform driver

 include/sound/pcm.h              |    1 +
 include/sound/soc-dai.h          |    6 ++++++
 include/sound/soc.h              |    7 ++++++-
 sound/core/pcm_lib.c             |   14 +++++++++++---
 sound/core/pcm_native.c          |    6 +++---
 sound/soc/mid-x86/sst_platform.c |   23 +++++++++++++++++++++++
 sound/soc/mid-x86/sst_platform.h |    4 +++-
 sound/soc/soc-pcm.c              |   13 +++++++++++++
 8 files changed, 66 insertions(+), 8 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v3 0/3] introduce device_buffer
@ 2012-08-31  1:14 Vinod Koul
  2012-08-31  1:14 ` [PATCH 1/3] ALSA: pcm - " Vinod Koul
  0 siblings, 1 reply; 10+ messages in thread
From: Vinod Koul @ 2012-08-31  1:14 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Vinod Koul, broonie, lrg

Old wine in a new bottle with added flavour now.
Based on our discussions in LPC, now we will report the combined delay value as
sum of the buffering done in driver and hardware. This is used to report delay
Additionally we tell pcm what is buffer in device/driver, this is used to check
for error calulcations

Vinod Koul (3):
  ALSA: pcm - introduce device_buffer
  ASoC: add device_buffer in asoc
  ASoC: mid-x86 - implement buffer query in sst_platform driver

 include/sound/pcm.h              |    1 +
 include/sound/soc-dai.h          |    6 ++++++
 include/sound/soc.h              |    6 ++++++
 sound/core/pcm_lib.c             |   10 +++++++++-
 sound/soc/mid-x86/sst_platform.c |   23 +++++++++++++++++++++++
 sound/soc/mid-x86/sst_platform.h |    4 +++-
 sound/soc/soc-pcm.c              |   13 ++++++++++++-
 7 files changed, 60 insertions(+), 3 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2012-08-31 21:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 19:12 [PATCH 0/3] introduce device_buffer Vinod Koul
2012-08-30 19:12 ` [PATCH 1/3] ALSA: pcm - " Vinod Koul
2012-08-30 19:12 ` [PATCH 2/3] ASoC: add device_buffer in asoc Vinod Koul
2012-08-30 19:12 ` [PATCH 3/3] ASoC: mid-x86 - implement buffer query in sst_platform driver Vinod Koul
2012-08-31 21:22 ` [PATCH 0/3] introduce device_buffer Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2012-08-31  1:14 [PATCH v3 " Vinod Koul
2012-08-31  1:14 ` [PATCH 1/3] ALSA: pcm - " Vinod Koul
2012-08-31  2:06   ` Raymond Yau
2012-08-31 15:05     ` Vinod Koul
2012-08-31 10:48   ` Jaroslav Kysela
2012-08-31 15:02     ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).