interaudio: Drain samples before setting new caps
Submitted by Carlos Rafael Giani
Link to original bug (#791348)
Description
Currently, when caps change, any samples remaining inside the channel are thrown away, causing data loss. Fix this by draining them before the caps are changed in gst_inter_audio_sink_set_caps().