Disable INPUT_STREAM_DERIVED in AVB?
Posted: Thu Aug 03, 2017 11:52 am
With talker only function in the AVB code the INPUT_STREAM_DERIVED media clock doesn't work and causes gaps in audio at the listener end (in my case a Macbook Pro). I suppose the code needs a listener to sync to a media stream from a talker? Honestly I thought it should be able to generate a clock from PTP sync lock but maybe that's not possible?
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?
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