record: first unlink the source outout then set thread_info.attached flag to FALSE.
record: first unlink the source outout then set thread_info.attached flag to FALSE.

maemo-foss/maemo-multimedia-pulseaudio-modules-meego,jusa/pulseaudio-modules-nemo,nemomobile/pulseaudio-module-cmtspeech-n9xx,maemo-foss/maemo-multimedia-pulseaudio-modules-meego,jusa/pulseaudio-modules-nemo,nemomobile/pulseaudio-module-cmtspeech-n9xx,maemo-foss/maemo-multimedia-pulseaudio-modules-meego,jusa/pulseaudio-modules-nemo