Kuninori Morimoto | 1 Jul 07:23 2010

[PATCH v3] ASoC: ak4642: Add Digital Playback Volume control


Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx <at> renesas.com>
---
v2 -> v3

o remove "default volume"
o remove explain from commit log

 sound/soc/codecs/ak4642.c |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index 7528a54..b41599d 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
 <at>  <at>  -36,6 +36,7  <at>  <at> 
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
 #include <sound/initval.h>
+#include <sound/tlv.h>

 #include "ak4642.h"

 <at>  <at>  -111,6 +112,23  <at>  <at> 

 struct snd_soc_codec_device soc_codec_dev_ak4642;

+/*
+ * Playback Volume (table 39)
+ *
(Continue reading)

robert | 1 Jul 07:37 2010

Introduction from Robert.

Dear All,

My name is Robert.

I have chosen ALSA to develop my own audio application for Linux.

How are you?

Cheers,

Robert
Jaroslav Kysela | 1 Jul 07:47 2010
Picon

Re: [PATCH] - arecord - remove "front" and related devices from the output of list-pcm option of arecord

On Thu, 1 Jul 2010, Raymond Yau wrote:

> Replace "front" device by "hw" device  and remove "rear", "center_lfe" ,
> "side" , "surroundxx" from the output of "arecord -L" since "front" device
> cannot be used for capturing and the front device is for playback only  .

NAK. Fix alsa-lib/configuration to return proper "IOID".

 					Jaroslav

-----
Jaroslav Kysela <perex <at> perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel <at> alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
robert | 1 Jul 08:03 2010

Full duplex code sample?

Dear All,

Is there an example code on how to program a full duplex audio transmission?

I did search the internet but it is full of Paul Davis advising to use Jack
instead of ALSA.

I think I would rather use ALSA for my purposes.

Cheers,

Robert
Raymond Yau | 1 Jul 08:02 2010
Picon

Re: [PATCH] - arecord - remove "front" and related devices from the output of list-pcm option of arecord

2010/7/1 Jaroslav Kysela <perex <at> perex.cz>

> On Thu, 1 Jul 2010, Raymond Yau wrote:
>
>  Replace "front" device by "hw" device  and remove "rear", "center_lfe" ,
>> "side" , "surroundxx" from the output of "arecord -L" since "front" device
>> cannot be used for capturing and the front device is for playback only  .
>>
>
> NAK. Fix alsa-lib/configuration to return proper "IOID".
>
>                                        Jaroslav
>

Where should proper "IOID" be placed in those alsa-lib/src/conf/cards/*.conf

* IOID - input / output identification (Input or Output strings),
 *        not present (NULL) means both
Liam Girdwood | 1 Jul 08:46 2010
Picon

Re: [RFC 3/5] ASoC multi-component support : core

On Sun, 2010-06-27 at 21:25 +0200, Lars-Peter Clausen wrote:
> Hi
> 
> Liam Girdwood wrote:
> > This patch adds multi-component support to the ASoC core and
> > reflects the new ASoC driver/device structure model defined in soc.h
> > and soc-dai.h. i.e.
> > 
> >  struct snd_soc_codec    --->  struct snd_soc_codec (device data)
> >                           +->  struct snd_soc_codec_driver (driver data)
> > 
> >  struct snd_soc_platform --->  struct snd_soc_platform (device data)
> >                           +->  struct snd_soc_platform_driver (driver data)
> > 
> >  struct snd_soc_dai      --->  struct snd_soc_dai (device data)
> >                           +->  struct snd_soc_dai_driver (driver data)
> > 
> >  struct snd_soc_device   --->  deleted
> > 
> > Other notable multi-component changes:-
> > 
> >  * Stream operations now de-reference less structures.
> >  * close_delayed work() now runs on a DAI basis rather than looping all DAIs
> >    in a card.
> >  * PM suspend()/resume() operations can now handle N CODECs and Platforms
> >    per sound card.
> >  * Added soc_bind_dai_link() to bind the component devices to the sound card.
> >  * Added soc_dai_link_probe() and soc_dai_link_remove() to probe and remove
> >    DAI link components.
> >  * sysfs entries can now be registered per component per card.
(Continue reading)

Liam Girdwood | 1 Jul 08:46 2010
Picon

Re: [PATCH] ASoC: multi-component - JZ4740: Fix issues of the i2s driver in the multi-component branch

On Sun, 2010-06-27 at 21:33 +0200, Lars-Peter Clausen wrote:
> There were two dai probe callbacks of which only one was used. This patch
> merges them.
> The dai remove callback was not hooked up to the dai_driver struct.
> 
> Signed-off-by: Lars-Peter Clausen <lars <at> metafoo.de>

Thanks, will apply soon.

Liam
--

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
Liam Girdwood | 1 Jul 08:46 2010
Picon

Re: [PATCH] ASoC: Multi-component - Fix tlv320aic23 hw_write/hw_read functions

On Mon, 2010-06-28 at 09:20 +1200, Ryan Mallon wrote:
> Commit 5ce5888769c4a453bb5a852e156ab4ac72822c40 removed the
> initialisations of the codec->hw_write/read functions for the
> tlv320aic23. Fix this by adding the initialisations in tlv320aic23_probe.
> 
> Signed-off-by: Ryan Mallon <ryan <at> bluewatersys.com>
> ---

Thanks, will apply soon.

Liam
--

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
Liam Girdwood | 1 Jul 08:52 2010
Picon

Re: [RFC 12/15] ASoC: multi-component - Cirrus Logic ep93xx Platform

On Mon, 2010-06-28 at 09:38 +1200, Ryan Mallon wrote:
> On 06/27/2010 11:52 PM, Liam Girdwood wrote:
> > Update the Cirrus Logic EP93xx platform and machines to new multi-component model.
> > 
> > This patch changes the machine drivers for multi-component as follows :-
> > 
> >  o Removed socdev
> >  o Each DAI link entry now contains platform and codec fields.
> >  o DAI link init() now passed snd_soc_pcm_runtime instread of snd_soc_codec.
> > 
> > This patch also changes the DAI and platform DAM drivers as follows :-
> > 
> >  o Each platform DAI and platform DMA driver is a kernel device and can
> >    have platform data.
> >  o DAI and Platform DMA drivers have private data accessors.
> > 
> > Other notable changes required for multi-component support:-
> > 
> >  o Add platform devices for I2S and PCM.
> > 
> > Signed-off-by: Liam Girdwood <lrg <at> slimlogic.co.uk>
> > Signed-off-by: Ryan Mallon <ryan <at> bluewatersys.com>
> 
> Hi Liam,
> 
> Where does this patch apply to? The codec-id fix, along with the patch I
> just posted for fixing the tlv320aic23 codec, gets the ep93xx/Snapper
> CL15 audio working under on your multi-component branch, so this patch
> should be fine. Would like to test though.

(Continue reading)

Raymond Yau | 1 Jul 11:44 2010
Picon

Re: [PATCH] - arecord - remove "front" and related devices from the output of list-pcm option of arecord

2010/7/1 Jaroslav Kysela <perex <at> perex.cz>

> On Thu, 1 Jul 2010, Raymond Yau wrote:
>
>  Replace "front" device by "hw" device  and remove "rear", "center_lfe" ,
>> "side" , "surroundxx" from the output of "arecord -L" since "front" device
>> cannot be used for capturing and the front device is for playback only  .
>>
>
> NAK. Fix alsa-lib/configuration to return proper "IOID".
>
>                                        Jaroslav
>

I have tried put "IOID" in many place such as usr/share/alsa/pcm/front.conf
,

it seem that hint_list_add() only add name and description in
alsa-lib/src/control/namehint.c

hint_list_add(struct hint_list *list,
             const char *name,
             const char *description)

I wonder "IOID" was never added to the hint list and that is why all devices
are Input/Output

dsnoop should be input and dmix should be output

Gmane