mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: backend-native: Add a property to select the modem to use
By default no modem is allowed. Property "bluez5.hfphsp-backend-native-modem" can be 'none', 'any' or the modem device string has found in 'Device' property of org.freedesktop.ModemManager1.Modem interface, e.g. for PinePhone "/sys/devices/platform/soc/1c1b000.usb/usb2/2-1".
This commit is contained in:
parent
c4addb102b
commit
fd508d395b
3 changed files with 52 additions and 4 deletions
|
|
@ -87,7 +87,8 @@ struct mm_ops {
|
|||
};
|
||||
|
||||
#ifdef HAVE_BLUEZ_5_BACKEND_NATIVE_MM
|
||||
void *mm_register(struct spa_log *log, void *dbus_connection, const struct mm_ops *ops, void *user_data);
|
||||
void *mm_register(struct spa_log *log, void *dbus_connection, const struct spa_dict *info,
|
||||
const struct mm_ops *ops, void *user_data);
|
||||
void mm_unregister(void *data);
|
||||
bool mm_is_available(void *modemmanager);
|
||||
unsigned int mm_supported_features();
|
||||
|
|
@ -98,7 +99,8 @@ bool mm_send_dtmf(void *modemmanager, const char *dtmf, void *user_data, enum cm
|
|||
const char *mm_get_incoming_call_number(void *modemmanager);
|
||||
struct spa_list *mm_get_calls(void *modemmanager);
|
||||
#else
|
||||
void *mm_register(struct spa_log *log, void *dbus_connection, const struct mm_ops *ops, void *user_data)
|
||||
void *mm_register(struct spa_log *log, void *dbus_connection, const struct spa_dict *info,
|
||||
const struct mm_ops *ops, void *user_data)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue