error: movable pointer `pbuf' does not point to its initial object when going out of scope
Posted: Tue May 01, 2018 4:47 pm
Hello,
trying to stop spdif receiver as described in here:
http://www.xcore.com/viewtopic.php?t=5164
unfortunately using
or
is leading to the following error:
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
Any ideas would be appreciated:)
wbr
malo
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