force_a2dp

Crates.ioforce_a2dp
lib.rsforce_a2dp
version0.1.0
sourcesrc
created_at2021-06-24 14:18:34.755871
updated_at2021-06-24 14:18:34.755871
descriptionTool to force A2DP sink on any Bluetooth device
homepagehttps://github.com/bensadiku/force_a2dp
repository
max_upload_size
id414479
size23,625
(bensadiku)

documentation

https://docs.rs/force_a2dp

README

force_a2dp

WIP workaround fix for a pulse audio bug, HSP/HFP profiles in Ubuntu 20.04 have terrible quality, this mini scrcipt will force A2DP sink for any BT device connected. Note that A2DP is unidirectional (BT limitation), so if you force this profile bt mics will not be active.

This wraps pacmd and bluetoothctl so if there's an error setting the A2DP profile, it will restart Bluetooth and try to set the profile again.

Install

If you have Cargo installed:

cargo install force_a2dp

Or download from release tab

License

Licensed under either of

at your option.

Licensing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt