[alsa-devel] Correct value for AK4114_DIF2 constant?
tiwai at suse.de
Tue Mar 27 15:56:53 CEST 2007
At Mon, 26 Mar 2007 23:52:57 +0200 (CEST),
dustin at seznam.cz wrote:
> While going through AK4114 support I have hit the constant AK4114_DIF2 in ak4114.h . I would say its value should be (1<<6) according to AK4114 datasheet.
> This is current situation:
> #define AK4114_DIF2 (1<<5) /* Audio Data Control */
> #define AK4114_DIF1 (1<<5) /* Audio Data Control */
> #define AK4114_DIF0 (1<<4) /* Audio Data Control */
> I think cards using this code should experience related problems. E.g. in juli.c and revo.c the constant
> #define AK4114_DIF_I24I2S (AK4114_DIF2|AK4114_DIF1|AK4114_DIF0) /* STDO: I2S; LRCLK, BICK = Input */
Wow, thanks for spotting out. Now fixed on HG tree.
> is used, intended to set output serial data mode to I2S/slave perhaps compatible with ICE1712/24. This may be causing problems mentioned in revo.c:
> #if 0
> /* FIXME: ak4114 makes the sound much lower due to some confliction,
> * so let's disable it right now...
> #define BUILD_AK4114_AP192
Right, this might be the cause.
Unfortunately, I have no AP192 board here to test. Hopefully someone
can test it soon...
> I am trying to add support for SPDIF-IN of AudioTrak MI/ODI/O addon card (ice1724 + ak4114), hopefully this will be a little step forward.
Let me know if you have any advance.
More information about the Alsa-devel