LOCAL_CLOCK media clock seems to work gapless (if I use the Macbook to select the XMOS as clock source). But so far I haven't found a way to disable INPUT_STREAM_DERIVED mode so the only possibility is LOCAL_CLOCK. I tried to remove the AEM_CLOCK_SOURCE_INPUT_STREAM clock descriptor (desc_clock_source_0) in the aem_descriptors.h.in in case there are no audio sinks but it didn't work (won't 'enumerate' on the Macbook). Any thoughts?
Code: Select all
#if (AVB_NUM_SINKS > 0) AEM_CLOCK_SOURCE_TYPE, 2, sizeof(desc_clock_source_0), (unsigned)desc_clock_source_0, sizeof(desc_clock_source_1), (unsigned)desc_clock_source_1, #else AEM_CLOCK_SOURCE_TYPE, 1, sizeof(desc_clock_source_1), (unsigned)desc_clock_source_1, #endif