mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05:00
spa: bluez: dbus: use tabs for indentation
This commit is contained in:
parent
253c8b48fc
commit
fd979a3cf7
1 changed files with 24 additions and 21 deletions
|
|
@ -3507,7 +3507,8 @@ static DBusHandlerResult endpoint_release(DBusConnection *conn, DBusMessage *m,
|
||||||
{
|
{
|
||||||
DBusMessage *r;
|
DBusMessage *r;
|
||||||
|
|
||||||
r = dbus_message_new_error(m, BLUEZ_MEDIA_ENDPOINT_INTERFACE ".Error.NotImplemented",
|
r = dbus_message_new_error(m,
|
||||||
|
BLUEZ_MEDIA_ENDPOINT_INTERFACE ".Error.NotImplemented",
|
||||||
"Method not implemented");
|
"Method not implemented");
|
||||||
if (r == NULL)
|
if (r == NULL)
|
||||||
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
||||||
|
|
@ -3612,7 +3613,8 @@ static void append_basic_array_variant_dict_entry(DBusMessageIter *dict, const c
|
||||||
|
|
||||||
static int bluez_register_endpoint(struct spa_bt_monitor *monitor,
|
static int bluez_register_endpoint(struct spa_bt_monitor *monitor,
|
||||||
const char *path, enum spa_bt_media_direction direction,
|
const char *path, enum spa_bt_media_direction direction,
|
||||||
const char *uuid, const struct media_codec *codec) {
|
const char *uuid, const struct media_codec *codec)
|
||||||
|
{
|
||||||
char *object_path = NULL;
|
char *object_path = NULL;
|
||||||
DBusMessage *m;
|
DBusMessage *m;
|
||||||
DBusMessageIter object_it, dict_it;
|
DBusMessageIter object_it, dict_it;
|
||||||
|
|
@ -3706,7 +3708,8 @@ static int adapter_register_endpoints(struct spa_bt_adapter *a)
|
||||||
* let's incentivize users to upgrade their bluez5 daemon
|
* let's incentivize users to upgrade their bluez5 daemon
|
||||||
* if they want proper media codec support
|
* if they want proper media codec support
|
||||||
* */
|
* */
|
||||||
spa_log_warn(monitor->log, "Using legacy bluez5 API for A2DP - only SBC will be supported. "
|
spa_log_warn(monitor->log,
|
||||||
|
"Using legacy bluez5 API for A2DP - only SBC will be supported. "
|
||||||
"Please upgrade bluez5.");
|
"Please upgrade bluez5.");
|
||||||
|
|
||||||
for (i = 0; media_codecs[i]; i++) {
|
for (i = 0; media_codecs[i]; i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue