I have not experienced with channel swapping during capture.. It would help, if I know: what is your kernel version Source of the recording (digimic, HS, main mic, etc)
We are using 2.6.32. The source of the recording is using Analog Mic. The Left Main mic is always on, and Right Sub mic can be either on or off when this occurs. We are not using AUX or digimic.
To clarify: you experience sudden channel switch during active recording, when the recording was running for few hours? Or is it that you start/stop the recording, and sometimes the channels are swapped?
It is sudden channel switch during active recording. There is no XRUN or any noticeable error when this happens.
This is a VoIP app, we have duplex audio when this happens. Both capture and playback are setup to run at 48kHz, 2 channel, S16_LE, with period size 10 mSec.
For playing, the left and right are the same data, we could not tell if the channel switch happens to playback as well.
Thanks, Ying