This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio Swapping Channels While Running

Hey guys:

I have a customer that is running audio and video simultaneously and on somewhat random events, the right and left channels swap.  This does not happen if only the audio is running.  Do you know what are the conditions that cause the audio to swap channels while it is running and there are other simultaneous processes running?  Any reporting from previous customers of this happening?  Please advise as to what areas to focus on that may cause this problem.

Thanks,
Tim Simerly

  • Hi Tim,

    Why are we working on Sunday night?

    The most likely cause is that some real-time deadline is being missed for the audio samples on either the input or the output side.

    Is the audio data stream a single stream that alternates between left and right channels? In that case, if one sample gets lost, the effect would be to swap the channels.

    If not, what are the ports being used for the audio data? What debug methods do you have available? Can you send numerical data rather than audio and look at exactly what happens when the swap occurs, such as data being duplicated or data being dropped or something else?