At Wed, 19 May 2010 21:00:38 +0200, Bernhard Walle wrote:
Hi,
we have a problem with the word clock input of the Delta 1010 E. At first: I modified the source code of envy24control to accept the Delta 1010 E as subdevice so that it allows to set the word clock. I'll post the patch after it works with the driver. However, the problem also exists when I use plain alsamixer or amixer.
With the unmodified driver, I'm able to turn word clock on but whenever I record something, the arecord program (or Audacity) doesn't get any samples.
With OSS (which we're using now but we're trying to switch to ALSA) my colleague Markus Prosch made a patch with lots of try & error that made the word clock working:
http://opensound.hg.sourceforge.net/hgweb/opensound/opensound/rev/6a4bad6e74...
When I try to "port" that patch to ALSA, the behaviour changes: The recording works, but the sample rate is too low so that it sounds quite strange.
In any case: In the same hardware setup, it works flawlessly with OSS. Also, we had no problem with the older Delta 1010. It seems to be an incompatible change (or bug ;)) in revision E.
Are there any devs here that know the hardware better and could help me in debugging that issue? Without any deeper sound driver knowledge and without any data sheet, that's quite hard for me.
Is register 0x01 set with bit 0x10 (aka SPDIF input-clock-master)? I haven't touched this driver for a very long time, so I'm not sure whether envy24control changed this bit automatically with word sync setup...
Takashi