Commit Graph

12 Commits

Author SHA1 Message Date
Andrzej Kaczmarek
adaa54bdf7 android: Add MTU data to Open Stream Audio IPC
MTU value for transport channel is sent in Open Stream response, which
is required to calculate number of frames which can be packed into
single media packet.

This is to avoid including GPLv2 licensed headers in Audio HAL
implementation.
2014-01-23 11:34:19 +02:00
Luiz Augusto von Dentz
96375e8ad2 android/audio-msg: Simplify audio_rsp_open_stream
Reuse audio_preset in audio_rsp_open_stream since the data type is the
same.
2014-01-11 11:24:31 +02:00
Luiz Augusto von Dentz
0d6a62ff24 android/audio-ipc: Fix Open command pdu
The uuid field is 16 bytes long not 16 bits, also make the first preset to
be the codec capability to avoid having 2 fields with variable length.
2014-01-08 11:37:44 +02:00
Luiz Augusto von Dentz
841e96bc65 android/A2DP: Add stream suspend command/response struct
This adds the definitions to stream suspend command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
ba880cc4c4 android/A2DP: Add stream resume command/response struct
This adds the definitions to stream resume command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
2d805557f2 android/A2DP: Add stream close command/response struct
This adds the definitions to stream close command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
62cfe1bc62 android/A2DP: Add stream open command/response struct
This adds the definitions to stream open command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
dfb5f89f63 android/A2DP: Add audio close command/response struct
This adds the definitions to audio close command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
3d2f0eeaf0 android/A2DP: Add audio open command/response struct
This adds the definitions to audio open command and response.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
193cbd4dd3 android/ipc: Add audio_ipc_send_rsp and audio_ipc_send_rsp_full
These functions can be used to respond to commands recieved over audio
IPC.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
1829216bab android/ipc: Add message handling for audio IPC
This adds audio_ipc_register and audio_ipc_unregister and adapt
ipc_handle_msg to be able to handle audio services messages.
2014-01-07 13:37:53 +02:00
Luiz Augusto von Dentz
294bfb1001 android/ipc: Add initial code for audio IPC
This add initial code for listen and accept connections on the abstract
socket defined for the audio IPC.
2014-01-07 13:37:50 +02:00