pulsedeviceprovider: Add compare_device_type_name function and missing lock
Add compare_device_type_name function to simplify compare device type name and fix the missing lock when accessing default_sink_name and default_source_name.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Add compare_device_type_name function to simplify compare device type name and fix the missing lock when accessing default_sink_name and default_source_name.