Initial version of the patch. Adds a callback to msp3400.c for some ivtv code to be executed when the stereo mode change. Logic for choosing language set in ivtv-api.c
Total rewrite of the patch, with a simplified interface.
msp3400.c now makes use of the automatic sound select of MSP 3400 G+. Thread removed from msp3400.c. It is simpler and hopefully more reliable. Language is selected using a standard V4L2 call.
ivtv-api.c uses a timer to watch the current state of the stereo system (bilingual or stereo) and set the DUAL flag.
A simplified interface, purely V4L2, without parameter to the module. The DUAL flag is updated automatically in stereo mode (-z 1).
A thread replaces the timer in ivtv-api, which should be safer.
New parameter for msp3400.c, stereo_threshold, which is useful when dealing with noisy stereo signals.