mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
d->hfgw_state is just another profile that should be considered exactly as the rest inside device_audio_is_ready(), which is being used to decide if the discovery hook gets triggered. Therefore, there seems to be no reason to make an exception for this profile and skip checking if the condition d->audio_state != PA_BT_AUDIO_STATE_INVALID holds true. This change makes no practical difference but delaying the load of the module also for HFGW until Audio.State is received. The benefit is that the behavior and the code are more consistent across profiles. |
||
|---|---|---|
| .. | ||
| daemon | ||
| modules | ||
| pulse | ||
| pulsecore | ||
| tests | ||
| utils | ||
| .gitignore | ||
| depmod.py | ||
| Makefile.am | ||
| map-file | ||