trying to stop spdif receiver as described in here:
http://www.xcore.com/viewtopic.php?t=5164
unfortunately using
Code: Select all
asm ("outct res[%0], %1"::"r"(sc_spdif_rx_),"r"(XS1_CT_END));
Code: Select all
soutct (sc_spdif_rx_, XS1_CT_END);
error: movable pointer `pbuf' does not point to its initial object when going out of scope
using lib_spdif: VERSION = 2.0.2
and just simple wrapper around spdif_rx
Code: Select all
while (1)
{
printf ("Starting SPDIF RX.\n");
spdif_rx (c_out_, p_in_, clk_, DEFAULT_FREQ_HZ_SPDIF);
printf ("SPDIF RX stopped.\n");
}
wbr
malo