Since v1.1.0, a few libvlc extern audio-related functions don't work anymore. As of v1.1.17, the issue still exist. To help with debugging, I picked one function that doesn't work (libvlc_audio_get_channel) and one function that does work (libvlc_audio_get_track) and play the same media file and show the callstack and the values of the related variables. I will use this topic as a reference when I send an email to the dev mailing list. Please reply to this topic if you have an idea on how to solve this issue. Thanks.
The code base I'm using is v1.16. In the "GetChannel" case, the call to EnterCriticalSelection() failed. In the "GetTrack" case, the call to EnterCriticalSelection() works fine. It looks like there is already an owning thread in the "GetChannel" case? Is that the problem? How to fix that?
Call-stack of "GetChannel" case:
Call-stack of "GetTrack" case: