diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-12-03 22:41:29 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-12-03 22:41:29 +0000 |
commit | 2934e194f3ffe754e18477113c870a7b98f88454 (patch) | |
tree | 8af6231fad9f933710e04d0f5ca7434ccf236d70 /audio/ipc.h | |
parent | ae100c4c1395e1b306d2e91b5fed85f7b8d6dfbf (diff) |
Handle new ipc messages properly and adapt the plugins.
Diffstat (limited to 'audio/ipc.h')
-rw-r--r-- | audio/ipc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/ipc.h b/audio/ipc.h index 0384cfd6..096c29f1 100644 --- a/audio/ipc.h +++ b/audio/ipc.h @@ -115,7 +115,6 @@ struct bt_getcapabilities_req { bt_audio_msg_header_t h; char device[18]; /* Address of the remote Device */ uint8_t transport; /* Requested transport */ - uint8_t access_mode; /* Requested access mode */ } __attribute__ ((packed)); /* BT_GETCAPABILITIES_RSP */ @@ -165,8 +164,6 @@ struct bt_getcapabilities_rsp { bt_audio_msg_header_t h; uint8_t posix_errno; uint8_t transport; /* Granted transport */ - uint8_t access_mode; /* Granted access mode */ - uint16_t link_mtu; /* Max length that transport supports */ sbc_capabilities_t sbc_capabilities; /* A2DP only */ mpeg_capabilities_t mpeg_capabilities; /* A2DP only */ uint16_t sampling_rate; /* SCO only */ @@ -176,6 +173,8 @@ struct bt_getcapabilities_rsp { struct bt_setconfiguration_req { bt_audio_msg_header_t h; char device[18]; /* Address of the remote Device */ + uint8_t transport; /* Requested transport */ + uint8_t access_mode; /* Requested access mode */ sbc_capabilities_t sbc_capabilities; /* A2DP only - only one of this field and next one must be filled */ mpeg_capabilities_t mpeg_capabilities; /* A2DP only */ @@ -184,6 +183,9 @@ struct bt_setconfiguration_req { /* BT_SETCONFIGURATION_RSP */ struct bt_setconfiguration_rsp { bt_audio_msg_header_t h; + uint8_t transport; /* Granted transport */ + uint8_t access_mode; /* Granted access mode */ + uint16_t link_mtu; /* Max length that transport supports */ uint8_t posix_errno; } __attribute__ ((packed)); |