ASoC updates
Subsystems (3)
cover ASoC updates
The following changes since commit 32c8dabc97d436582298ebd0e33af041c69f5a4b:
Mark Brown (1):
ASoC: Remove obsolete declaration of struct snd_soc_clock_info
are available in the git repository at:
git://opensource.wolfsonmicro.com/linux-2.6-asoc for-tiwai
Daniel Mack (1):
ASoC: tlv320aic3x: control additions and cleanups
Grazvydas Ignotas (1):
ASoC: Add support for OMAP3 Pandora
sound/soc/codecs/tlv320aic3x.c | 18 ++- sound/soc/omap/Kconfig | 8 + sound/soc/omap/Makefile | 2 + sound/soc/omap/omap3pandora.c | 311 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 334 insertions(+), 5 deletions(-) create mode 100644 sound/soc/omap/omap3pandora.c
PATCH 1/2 ASoC: Add support for OMAP3 Pandora
From: Grazvydas Ignotas <[email protected]>
This patch adds basic support for OMAP3 Pandora.
--- sound/soc/omap/Kconfig | 8 + sound/soc/omap/Makefile | 2 + sound/soc/omap/omap3pandora.c | 311 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 321 insertions(+), 0 deletions(-) create mode 100644 sound/soc/omap/omap3pandora.c
sound/soc/omap/Kconfig +8 -0
@@ -46,3 +46,11 @@ config SND_OMAP_SOC_SDP3430 help Say Y if you want to add support for SoC audio on Texas Instruments SDP3430. + +config SND_OMAP_SOC_OMAP3_PANDORA + tristate "SoC Audio support for OMAP3 Pandora" + depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP3_PANDORA + select SND_OMAP_SOC_MCBSP + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the OMAP3 Pandora.
sound/soc/omap/Makefile +2 -0
@@ -11,9 +11,11 @@ snd-soc-osk5912-objs := osk5912.o snd-soc-overo-objs := overo.o snd-soc-omap2evm-objs := omap2evm.o snd-soc-sdp3430-objs := sdp3430.o +snd-soc-omap3pandora-objs := omap3pandora.o obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o obj-$(CONFIG_MACH_OMAP2EVM) += snd-soc-omap2evm.o obj-$(CONFIG_SND_OMAP_SOC_SDP3430) += snd-soc-sdp3430.o +obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA) += snd-soc-omap3pandora.o
sound/soc/omap/omap3pandora.c new file +311 -0
311 lines not on this page · raw message
Signature · 1 line
1.5.6.5
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 2/2 ASoC: tlv320aic3x: control additions and cleanups
From: Daniel Mack <[email protected]>
- split "Line Playback Switch" into "LineL Playback Switch" and "LineR Playback Switch"
- split "Line PGA Bypass Playback Volume" into "LineL Left PGA Bypass Playback Volume" and "LineR Right PGA Bypass Playback Volume"
- split "Line Line2 Bypass Playback Volume" into "LineL Line2 Bypass Playback Volume" and "LineR Line2 Bypass Playback Volume"
- Added "HP Right PGA Bypass Playback Volume"
--- sound/soc/codecs/tlv320aic3x.c | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-)
sound/soc/codecs/tlv320aic3x.c +13 -5
@@ -253,11 +253,17 @@ static const struct snd_kcontrol_new aic3x_snd_controls[] = {SOC_DOUBLE_R ("Line DAC Playback Volume" ,DACL1_2_LLOPM_VOL ,DACR1_2_RLOPM_VOL ,0 ,0x7f ,1 ), -SOC_DOUBLE_R ("Line DAC Playback Switch" ,LLOPM_CTRL ,RLOPM_CTRL ,3 , -0x01 ,0 ), -SOC_DOUBLE_R ("Line PGA Bypass Playback Volume" ,PGAL_2_LLOPM_VOL , -PGAR_2_RLOPM_VOL ,0 ,0x7f ,1 ), -SOC_DOUBLE_R ("Line Line2 Bypass Playback Volume" ,LINE2L_2_LLOPM_VOL , +SOC_SINGLE ("LineL Playback Switch" ,LLOPM_CTRL ,3 ,0x01 ,0 ), +SOC_SINGLE ("LineR Playback Switch" ,RLOPM_CTRL ,3 ,0x01 ,0 ), +SOC_DOUBLE_R ("LineL DAC Playback Volume" ,DACL1_2_LLOPM_VOL , +DACR1_2_LLOPM_VOL ,0 ,0x7f ,1 ), +SOC_SINGLE ("LineL Left PGA Bypass Playback Volume" ,PGAL_2_LLOPM_VOL , +0 ,0x7f ,1 ), +SOC_SINGLE ("LineR Right PGA Bypass Playback Volume" ,PGAR_2_RLOPM_VOL , +0 ,0x7f ,1 ), +SOC_DOUBLE_R ("LineL Line2 Bypass Playback Volume" ,LINE2L_2_LLOPM_VOL , +LINE2R_2_LLOPM_VOL ,0 ,0x7f ,1 ), +SOC_DOUBLE_R ("LineR Line2 Bypass Playback Volume" ,LINE2L_2_RLOPM_VOL ,LINE2R_2_RLOPM_VOL ,0 ,0x7f ,1 ), SOC_DOUBLE_R("Mono DAC Playback Volume", DACL1_2_MONOLOPM_VOL,
@@ -272,6 +278,8 @@ static const struct snd_kcontrol_new aic3x_snd_controls[] = { DACR1_2_HPROUT_VOL, 0, 0x7f, 1),SOC_DOUBLE_R ("HP DAC Playback Switch" ,HPLOUT_CTRL ,HPROUT_CTRL ,3 ,0x01 ,0 ), +SOC_DOUBLE_R ("HP Right PGA Bypass Playback Volume" ,PGAR_2_HPLOUT_VOL , +PGAR_2_HPROUT_VOL ,0 ,0x7f ,1 ),SOC_SINGLE ("HPL PGA Bypass Playback Volume" ,PGAL_2_HPLOUT_VOL ,0 ,0x7f ,1 ), SOC_SINGLE("HPR PGA Bypass Playback Volume", PGAL_2_HPROUT_VOL,
Signature · 1 line
1.5.6.5
question on hardware mixing
In reply to Mark BrownHi,
If my sound card supports hardware mixing, how do I need to code my sound card driver such that I can send multiple streams through ALSA to the sound card driver at the same time?
Thanks,
Harsha
Re: question on hardware mixing
It does that by default. Just run multiple applications.
2008/12/5 Harsha, Priya <[email protected]>:
Quoted 12 lines
Hi,
If my sound card supports hardware mixing, how do I need to code my sound card driver such that I can send multiple streams through ALSA to the sound card driver at the same time?
Thanks,
Harsha_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 5 lines
Vedran Miletić _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: question on hardware mixing
Thanks.
If I need to send a voice stream and an audio stream to the hardware as two separate streams... I just need to open 2 ALSA device from user space and send it right?
If I want to send some private data for each stream (say I want to differentiate that it's a voice/music...for which I did not find any provision) how do I do that?
-----Original Message-----
From: Vedran Miletić [mailto:[email protected]]
Sent: Friday, December 05, 2008 10:42 PM
To: Harsha, Priya
Cc: [email protected]
Subject: Re: [alsa-devel] question on hardware mixing
It does that by default. Just run multiple applications.
2008/12/5 Harsha, Priya <[email protected]>:
Quoted 12 lines
Hi,
If my sound card supports hardware mixing, how do I need to code my sound card driver such that I can send multiple streams through ALSA to the sound card driver at the same time?
Thanks,
Harsha_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 1 line
Vedran Miletić
Re: question on hardware mixing
In reply to Harsha, PriyaQuoted 4 lines · Priya
Hi,
If my sound card supports hardware mixing, how do I need to code my sound card driver such that I can send multiple streams through ALSA to the sound card driver at the same time?
Check out the emu10k1 driver. You need something like the voice allocator in that driver that assigns a hardware mixing channel or channels when ALSA asks the driver for a new PCM stream.
User space would open the same device multiple times (up to the hardware voice limit) and the driver manages the allocations. From userspace POV a hardware mixing device looks just like a single stream device, but it doesn't return -EBUSY when you open it multiple times.
Lee
Re: question on hardware mixing
Hi,
Thanks.
A quick follow up question. In the trigger function - I see that from substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
Thanks,
Harsha
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lee Revell
Sent: Saturday, December 06, 2008 10:29 AM
To: Harsha, Priya
Cc: [email protected]
Subject: Re: [alsa-devel] question on hardware mixing
Quoted 4 lines · Priya
Hi,
If my sound card supports hardware mixing, how do I need to code my sound card driver such that I can send multiple streams through ALSA to the sound card driver at the same time?
Check out the emu10k1 driver. You need something like the voice allocator in that driver that assigns a hardware mixing channel or channels when ALSA asks the driver for a new PCM stream.
User space would open the same device multiple times (up to the hardware voice limit) and the driver manages the allocations. From userspace POV a hardware mixing device looks just like a single stream device, but it doesn't return -EBUSY when you open it multiple times.
Lee
Re: question on hardware mixing
Quoted 6 lines · Priya
Hi,
Thanks.
A quick follow up question. In the trigger function - I see that from
substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
What exactly do you want to do differently?
Lee
Re: question on hardware mixing
I have a DSP engine with FW. I need to pass this information to the FW which does some processing for voice and music differently.
Thanks,
Harsha
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lee Revell
Sent: Tuesday, December 09, 2008 8:46 AM
To: Harsha, Priya
Cc: [email protected]
Subject: Re: [alsa-devel] question on hardware mixing
Quoted 6 lines · Priya
Hi,
Thanks.
A quick follow up question. In the trigger function - I see that from
substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
What exactly do you want to do differently?
Lee
Re: question on hardware mixing
In reply to Lee RevellI was thinking to pass this information from snd_pcm_t->private_data. This gets copied to substream->private_data internally which would reach the driver. Am I right here?
-----Original Message-----
From: Harsha, Priya
Sent: Tuesday, December 09, 2008 8:54 AM
To: 'Lee Revell'
Cc: [email protected]
Subject: RE: [alsa-devel] question on hardware mixing
I have a DSP engine with FW. I need to pass this information to the FW which does some processing for voice and music differently.
Thanks,
Harsha
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lee Revell
Sent: Tuesday, December 09, 2008 8:46 AM
To: Harsha, Priya
Cc: [email protected]
Subject: Re: [alsa-devel] question on hardware mixing
Quoted 6 lines · Priya
Hi,
Thanks.
A quick follow up question. In the trigger function - I see that from
substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
What exactly do you want to do differently?
Lee
Re: question on hardware mixing
In reply to Harsha, PriyaQuoted 4 lines · Priya
In the trigger function - I see that from
substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
On the Emu10k1 chip, the hardware voices are used for both PCM playback and wavetable (MIDI) playback. Voice-specific parameters are set for MIDI data; the parameters come from the soundfont that was loaded to specify how the instruments sound. (Here, the term "voice" has no relation to the sound of a human voice.)
As far as PCM playback is concerned, ALSA does not have any predefined mechanism to differentiate between voice and music audio streams. It would be possible to define mixer controls to switch between these settings for each substream.
HTH
Clemens
Re: question on hardware mixing
If I define mixer controls to switch between each substream, I would not be able to handle multiple streams at time.... I had asked this in my earlier follow up email as well - can I use snd_pcm_t->private_data to communicate if it's a voice or audio I understand this private_data gets copied to substream->private data which will reach the driver...
Am I right here?
-----Original Message-----
From: Clemens Ladisch [mailto:[email protected]]
Sent: Tuesday, December 09, 2008 2:23 PM
To: Harsha, Priya
Cc: Lee Revell; [email protected]
Subject: Re: [alsa-devel] question on hardware mixing
Quoted 4 lines · Priya
In the trigger function - I see that from
substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
On the Emu10k1 chip, the hardware voices are used for both PCM playback and wavetable (MIDI) playback. Voice-specific parameters are set for MIDI data; the parameters come from the soundfont that was loaded to specify how the instruments sound. (Here, the term "voice" has no relation to the sound of a human voice.)
As far as PCM playback is concerned, ALSA does not have any predefined mechanism to differentiate between voice and music audio streams. It would be possible to define mixer controls to switch between these settings for each substream.
HTH
Clemens
Re: question on hardware mixing
Quoted 2 lines · Priya
If I define mixer controls to switch between each substream, I would not be able to handle multiple streams at time....
Check into the ALSA configuration file syntax -- there are number of things you can do there, like define a 'voice' device that uses hooks to set a control setting (snd_kcontrol) when you open a PCM. You can use that control setting to let your driver know if the PCM channel is being used for voice or audio traffic.
Look at how the EMU10K1 handles surround sound audio in /etc/alsa/cards/EMU10K1.conf
I started to do some similar things for sis7019 surround sound, but they've never made it out of my office due to lack of time/testing HW.
Quoted 5 lines
I had asked this in my earlier follow up email as well - can I use
snd_pcm_t->private_datato communicate if it's a voice or audio I understand thisprivate_datagets copied tosubstream->privatedata which will reach the driver...
Am I right here?
I can't answer this specifically, but I believe the answer is in the name -- 'private'. This is for the ALSA system to use, you can hang your own data off a substream using snd_pcm_substream_chip(). Besides, how do you plan on setting it in the snd_pcm_t type?
I think that if you set up some controls, use the config file language, and have your audio apps open a 'voice' device, you can get where you want.
Dave
Re: question on hardware
Hi ,
I need more help here. I tried looking at the .conf file but I have another requirement here.
Let me put my requirements here. Please suggest me ways to get this done
1. When I get a .prepare call in my driver, I need to know the stream type
2. When I return from that call, I need to send to the user the locally allocated stream id
This is specific to the sound card/ DSP I am developing the driver for. The application is also proprietary. Is this possible at all? Please suggest me ways to do the same.
Thanks,
Harsha
Quoted 39 lines
-----Original Message-----
From: David Dillow [mailto:[email protected]]
Sent: Tuesday, December 09, 2008 6:14 PM
To: Harsha, Priya
Cc: Clemens Ladisch; [email protected]; Lee Revell
Subject: Re: [alsa-devel] question on hardware mixingQuoted 2 lines · Priya
If I define mixer controls to switch between each substream, I would not be able to handle multiple streams at time....
Check into the ALSA configuration file syntax -- there are number of things you can do there, like define a 'voice' device that uses hooks to set a control setting (
snd_kcontrol) when you open a PCM. You can use that control setting to let your driver know if the PCM channel is being used for voice or audio traffic.Look at how the EMU10K1 handles surround sound audio in
/etc/alsa/cards/EMU10K1.confI started to do some similar things for sis7019 surround sound, but they've never made it out of my office due to lack of time/testing HW.
Quoted 5 lines
I had asked this in my earlier follow up email as well - can I use
snd_pcm_t->private_datato communicate if it's a voice or audio I understand thisprivate_datagets copied tosubstream->privatedata which will reach the driver...
Am I right here?I can't answer this specifically, but I believe the answer is in the name -- 'private'. This is for the ALSA system to use, you can hang your own data off a substream using
snd_pcm_substream_chip(). Besides, how do you plan on setting it in thesnd_pcm_ttype?I think that if you set up some controls, use the config file language, and have your audio apps open a 'voice' device, you can get where you want.
Dave
Re: question on hardware
The issue that I am facing with creating a snd_kcontrol is that I am not able to bind that value to a stream. Say I start the application and set the type of that control to voice and open another instance of that application and set the type to audio. There might be a clash and I might get the wrong stream type to the driver. Also, the stream ids passed cannot also be guaranteed to reach the right stream.
Quoted 67 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Harsha, Priya
Sent: Thursday, April 09, 2009 1:07 PM
To: [email protected]
Cc: Takashi Iwai; David Dillow; Lee Revell; Clemens Ladisch
Subject: Re: [alsa-devel] question on hardwareHi ,
I need more help here. I tried looking at the .conf file but I have another requirement here.
Let me put my requirements here. Please suggest me ways to get this done
1. When I get a .prepare call in my driver, I need to know the stream type
2. When I return from that call, I need to send to the user the locally allocated stream idThis is specific to the sound card/ DSP I am developing the driver for. The application is also proprietary. Is this possible at all? Please suggest me ways to do the same.
Thanks,
HarshaQuoted 34 lines
-----Original Message-----
From: David Dillow [mailto:[email protected]]
Sent: Tuesday, December 09, 2008 6:14 PM
To: Harsha, Priya
Cc: Clemens Ladisch; [email protected]; Lee Revell
Subject: Re: [alsa-devel] question on hardware mixingQuoted 2 lines · Priya
If I define mixer controls to switch between each substream, I would not be able to handle multiple streams at time....
Check into the ALSA configuration file syntax -- there are number of things you can do there, like define a 'voice' device that uses hooks to set a control setting (
snd_kcontrol) when you open a PCM. You can use that control setting to let your driver know if the PCM channel is being used for voice or audio traffic.Look at how the EMU10K1 handles surround sound audio in
/etc/alsa/cards/EMU10K1.confI started to do some similar things for sis7019 surround sound, but they've never made it out of my office due to lack of time/testing HW.
Quoted 5 lines
I had asked this in my earlier follow up email as well - can I use
snd_pcm_t->private_datato communicate if it's a voice or audio I understand thisprivate_datagets copied tosubstream->privatedata which will reach the driver...
Am I right here?I can't answer this specifically, but I believe the answer is in the name -- 'private'. This is for the ALSA system to use, you can hang your own data off a substream using
snd_pcm_substream_chip(). Besides, how do you plan on setting it in thesnd_pcm_ttype?Quoted 5 lines
I think that if you set up some controls, use the config file language, and have your audio apps open a 'voice' device, you can get where you want.
Dave
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: question on hardware
At Thu, 9 Apr 2009 13:26:50 +0530,
Quoted 3 lines · Priya
The issue that I am facing with creating a
snd_kcontrolis that I am not able to bind that value to a stream.
Why?
Quoted 3 lines
Say I start the application
and set the type of that control to voice and open another instance of that application and set the type to audio.
Another instance must have a different stream, right? Then it must have a different substream number. In the scenario a la emu10k1, you'll have a control per each substream. So this won't conflict.
Quoted 4 lines
There might be a
clash and I might get the wrong stream type to the driver. Also, the stream ids passed cannot also be guaranteed to reach the right stream.
The "stream id" you are referring to might be different from what I'm thinking of. Please elaborate your terminology before further questions. It's a bit hard to illustrate your use-case from your descriptions, so far...
thanks,
Takashi
Quoted 70 lines
Quoted 69 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Harsha, Priya
Sent: Thursday, April 09, 2009 1:07 PM
To: [email protected]
Cc: Takashi Iwai; David Dillow; Lee Revell; Clemens Ladisch
Subject: Re: [alsa-devel] question on hardwareHi ,
I need more help here. I tried looking at the .conf file but I have another requirement here.
Let me put my requirements here. Please suggest me ways to get this done
1. When I get a .prepare call in my driver, I need to know the stream type
2. When I return from that call, I need to send to the user the locally allocated stream idThis is specific to the sound card/ DSP I am developing the driver for. The application is also proprietary. Is this possible at all? Please suggest me ways to do the same.
Thanks,
HarshaQuoted 34 lines
-----Original Message-----
From: David Dillow [mailto:[email protected]]
Sent: Tuesday, December 09, 2008 6:14 PM
To: Harsha, Priya
Cc: Clemens Ladisch; [email protected]; Lee Revell
Subject: Re: [alsa-devel] question on hardware mixingQuoted 2 lines · Priya
If I define mixer controls to switch between each substream, I would not be able to handle multiple streams at time....
Check into the ALSA configuration file syntax -- there are number of things you can do there, like define a 'voice' device that uses hooks to set a control setting (
snd_kcontrol) when you open a PCM. You can use that control setting to let your driver know if the PCM channel is being used for voice or audio traffic.Look at how the EMU10K1 handles surround sound audio in
/etc/alsa/cards/EMU10K1.confI started to do some similar things for sis7019 surround sound, but they've never made it out of my office due to lack of time/testing HW.
Quoted 5 lines
I had asked this in my earlier follow up email as well - can I use
snd_pcm_t->private_datato communicate if it's a voice or audio I understand thisprivate_datagets copied tosubstream->privatedata which will reach the driver...
Am I right here?I can't answer this specifically, but I believe the answer is in the name -- 'private'. This is for the ALSA system to use, you can hang your own data off a substream using
snd_pcm_substream_chip(). Besides, how do you plan on setting it in thesnd_pcm_ttype?Quoted 5 lines
I think that if you set up some controls, use the config file language, and have your audio apps open a 'voice' device, you can get where you want.
Dave
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: question on hardware mixing
In reply to Harsha, PriyaQuoted 1 line · Priya
If I define mixer controls to switch between each substream,
I wrote "mixer controls to switch between these settings for each substream", i.e., each substream would have its own flag.
Quoted 2 lines
can I use
snd_pcm_t->private_datato communicate if it's a voice or audio
ALSA does not have a predefined mechanism to set it from userspace. Your driver can initialize it when it is probed, or it can change it when opening the substream.
HTH
Clemens
Re: question on hardware mixing
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Clemens Ladisch
Sent: Tuesday, December 09, 2008 7:36 PM
To: Harsha, Priya
Cc: [email protected]; Lee Revell
Subject: Re: [alsa-devel] question on hardware mixing
Quoted 1 line · Priya
If I define mixer controls to switch between each substream,
I wrote "mixer controls to switch between these settings for each
substream", i.e., each substream would have its own flag.
[Harsha] I am still not comfortable how to do this... I guess EMU10K1 handle this kind of mixer controls for switching... I shall look into this driver to learn more
Quoted 2 lines
can I use
snd_pcm_t->private_datato communicate if it's a voice or audio
ALSA does not have a predefined mechanism to set it from userspace.
Your driver can initialize it when it is probed, or it can change it
when opening the substream.
[Harsha] Thanks.... so can I assume that when I open a substream, I can set a private_data to communicate to the driver if its voice/music?
HTH
Clemens
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: question on hardware mixing
In reply to Clemens LadischQuoted 2 lines
I wrote "mixer controls to switch between these settings for each substream", i.e., each substream would have its own flag.
If I create a mixer control using snd_kcontrol. When two applications in parallel try to create a stream and change the snd_kcontrol, can you help me understand how I would get the stream type stored in each substream as a flag?
Also, when I get a snd_kcontrol's .set function call, I am not sure how to get the substream specific data in that call?
Thanks,
Harsha
At Fri, 5 Dec 2008 16:53:42 +0000,
Quoted 8 lines · Mark Brown
The following changes since commit
32c8dabc97d436582298ebd0e33af041c69f5a4b:
Mark Brown (1):
ASoC: Remove obsolete declaration of structsnd_soc_clock_infoare available in the git repository at:
git://opensource.wolfsonmicro.com/linux-2.6-asocfor-tiwai
Thanks, pulled now.
Takashi
Quoted 14 lines
Daniel Mack (1):
ASoC: tlv320aic3x: control additions and cleanupsGrazvydas Ignotas (1):
ASoC: Add support for OMAP3 Pandorasound/soc/codecs/tlv320aic3x.c | 18 ++- sound/soc/omap/Kconfig | 8 + sound/soc/omap/Makefile | 2 + sound/soc/omap/omap3pandora.c | 311 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 334 insertions(+), 5 deletions(-) create mode 100644 sound/soc/omap/omap3pandora.c