Re: ASoC: TWL4030 codec: Multiple DAC nameing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 02, 2008 at 12:33:07PM +0200, Peter Ujfalusi wrote:

> /* DACs */
> SND_SOC_DAPM_DAC("DACR1", "Right Front Playback",
> 		TWL4030_REG_AVDAC_CTL, 0, 0),
> SND_SOC_DAPM_DAC("DACL1", "Left Front Playback",
> 		TWL4030_REG_AVDAC_CTL, 1, 0),
> SND_SOC_DAPM_DAC("DACR2", "Right Rear Playback",
> 		TWL4030_REG_AVDAC_CTL, 2, 0),
> SND_SOC_DAPM_DAC("DACL2", "Left Rear Playback",
> 		TWL4030_REG_AVDAC_CTL, 3, 0),

> Are these are OK, or should I just use "Right Playback" for both DACR1 and 
> DACR2?

Your current naming is good - if you use only "Right Playback" DAPM
won't be able to distinguish the two audio streams from each other.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux