alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v4 4/6] core: add API header and driver header files
@ 2011-12-13 12:49 Nallasellan, Singaravelan
  2011-12-13 12:51 ` Mark Brown
  2011-12-13 13:23 ` Takashi Iwai
  0 siblings, 2 replies; 10+ messages in thread
From: Nallasellan, Singaravelan @ 2011-12-13 12:49 UTC (permalink / raw)
  To: Vinod Koul, alsa-devel@alsa-project.org
  Cc: tiwai@suse.de, broonie@opensource.wolfsonmicro.com, lrg@ti.com,
	Pierre-Louis Bossart

> +struct snd_compr_runtime {
> +	snd_pcm_state_t state;
> +	struct snd_compr_ops *ops;
> +	void *buffer;
Can we define buffer as char *?
> +	size_t buffer_size;
> +	size_t fragment_size;
Can we define buffer_size and fragment_size as unsigned items? 
Can we have negative size here?

> +	unsigned int fragments;
> +	size_t hw_pointer;
> +	size_t app_pointer;
> +	size_t bytes_written;
> +	size_t bytes_copied;
> +	wait_queue_head_t sleep;
> +};
> +

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v3 0/6] core: add compress data API to ALSA kernel
@ 2011-12-05  7:39 Vinod Koul
  2011-12-13  9:02 ` [PATCH v4 4/6] core: add API header and driver header files Vinod Koul
  0 siblings, 1 reply; 10+ messages in thread
From: Vinod Koul @ 2011-12-05  7:39 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Vinod Koul, broonie, lrg

As agreed during the ASoC workshop in May 2011, this set of patches are a
proposal from Intel to add a new compressed data interface to ALSA. This
proposal builds on the existing Intel solution and the experience gathered over
two years with Meego and Android solutions. This proposal is no longer
Intel-specific and was generalized with the addition of a basic core;
codec-related definitions are based on the vendor-neutral OpenMAX AL standard. 

These patches are also available in git tree:
git://git.infradead.org/users/vkoul/snd-compress.git v3_patches

Changes in v3:
 Fixed the device registration for compressed devices as discussed
 moved card creation to lower level drivers
 Added new api for device node creation
 changes fragment/frame callbacks to single inlined callback

Changes in v2:
 Fixed the comments revived in v2
 Fixed the comments recieved during LPC discussions
 add support for alsa device registeration
 fix the bugs found in testing

Omair Mohammed Abdullah (1):
  core: add support for compressed devices

Pierre-Louis Bossart (1):
  compress API documentation

Vinod Koul (4):
  core: add compress parameter definations
  core: add API header and driver header files
  core: add support for compress_offload
  core: add makefile and kconfig file for compress

 Documentation/sound/alsa/snd_compress_data.txt |  184 +++++++
 include/sound/compress_driver.h                |  164 ++++++
 include/sound/compress_offload.h               |  151 +++++
 include/sound/core.h                           |    1 +
 include/sound/minors.h                         |    7 +-
 include/sound/snd_compress_params.h            |  395 +++++++++++++
 sound/core/Kconfig                             |    8 +
 sound/core/Makefile                            |    4 +
 sound/core/compress_offload.c                  |  701 ++++++++++++++++++++++++
 sound/core/sound.c                             |    6 +
 10 files changed, 1620 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/sound/alsa/snd_compress_data.txt
 create mode 100644 include/sound/compress_driver.h
 create mode 100644 include/sound/compress_offload.h
 create mode 100644 include/sound/snd_compress_params.h
 create mode 100644 sound/core/compress_offload.c

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

end of thread, other threads:[~2011-12-13 17:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13 12:49 [PATCH v4 4/6] core: add API header and driver header files Nallasellan, Singaravelan
2011-12-13 12:51 ` Mark Brown
2011-12-13 13:02   ` Nallasellan, Singaravelan
2011-12-13 13:23 ` Takashi Iwai
2011-12-13 13:51   ` Nallasellan, Singaravelan
2011-12-13 14:04     ` Takashi Iwai
2011-12-13 14:24       ` Vinod Koul
2011-12-13 15:01         ` Takashi Iwai
2011-12-13 17:46           ` Vinod Koul
  -- strict thread matches above, loose matches on Subject: below --
2011-12-05  7:39 [PATCH v3 0/6] core: add compress data API to ALSA kernel Vinod Koul
2011-12-13  9:02 ` [PATCH v4 4/6] core: add API header and driver header files 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).