[alsa-devel] mxc-spdif delay: miss 1-2s at the beginning of the song

stéphane cerveau scerveau at gmail.com
Mon Oct 21 13:50:26 CEST 2013

Dear all,

I had some progress concerning spdif various issues (alsactl store lock, 
rx to tx support).
Here is in attachment the patch.

Concerning the music startup i still have some issues with sync. If 
there is someone who can help me out with this, i will be pleased to 
work on this issue. IMX documentation is not really clear enough to me. 
Especially for the config SPDIF_SCR/TxFifo_ctrl.
For now i put a delay in playback start but this is not clearly fixing 
the issue and this is not a solution for me.

Best regards.


On 10/15/2013 04:21 PM, stéphane cerveau wrote:
> Dear all,
> I'm facing a delay during startup missing 1-2s of the song when i'm 
> using mxc spdif with aplay.
> I guess its a problem with spdif synchronization. If i put a 
> msleep(1000) at the end of the function 
> mxc-spdif.c:mxc_spdif_playback_start, the playback is ok.
> Is there anyone who already faced this issue?
> BR.
> Stéphane

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006_spdif_fixes.patch
Type: text/x-patch
Size: 9945 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131021/b1722188/attachment.bin>

More information about the Alsa-devel mailing list