Revert "Alsa: fix crash when detecting devices."
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 11 Mar 2015 13:32:17 +0000 (14:32 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 11 Mar 2015 14:17:14 +0000 (14:17 +0000)
commite1d76e2df53b766f418e15282a2b908e91108b66
tree68a7c0ad2971ba9fa6a83456e96e55f5b6c0208b
parent95e9155b7f290d438dfd986fca7f9a26698cf691
Revert "Alsa: fix crash when detecting devices."

This reverts commit 0ab81ef59f35d103ec8174834c4fc2a4dcced453.
The workaround causes software devices not to appear in the list
of available devices. Besides, since the crash is caused by a bug
in older versions of Alsa, the workaround was probably a bad idea
in the first place. People should update Alsa instead.

Task-number: QTBUG-42326
Change-Id: I37923a87180d1c5abc18d52d84f633e14ba46860
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/gsttools/qgstreameraudioinputselector.cpp
src/plugins/alsa/qalsaaudiodeviceinfo.cpp