[pulseaudio-discuss] don't stop_stream_fd when suspending sink/source in bluetooth-device module
long.bu at intel.com
Thu Jun 25 01:46:07 PDT 2009
Now the suspend call back will call stop_stream_fd(u) which will
send BT_STOP_STREAM command. This eventually causes some connected devices(I tested with DELL BH200 and Motorola HT800) to disconnect.(BlueZ asks connected devices to disconnect audio link only but some devices actually disconnect the RFComm link also). And you can not use the Bluetooth anymore without reconnecting it. The module-bluetooth-device also gets unloaded
The benefit of stop_stream_fd when suspending is to save some power for HSP/HFP case since communication on sco link occurs even there is no audio data. But for some devices that disconnect on BT_STOP_STREAM, it really brings some bad use experience.
So I think it's good to remove stop_stream_fd for now as in the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3166 bytes
More information about the pulseaudio-discuss