Use audio_session_t consistently
Bug: 27562099 Change-Id: I608f72515b2aea93c784f0df15fe4af9859aebdf
This commit is contained in:
@@ -141,14 +141,14 @@ struct audio_policy {
|
|||||||
int (*start_output)(struct audio_policy *pol,
|
int (*start_output)(struct audio_policy *pol,
|
||||||
audio_io_handle_t output,
|
audio_io_handle_t output,
|
||||||
audio_stream_type_t stream,
|
audio_stream_type_t stream,
|
||||||
int session);
|
audio_session_t session);
|
||||||
|
|
||||||
/* indicates to the audio policy manager that the output stops being used
|
/* indicates to the audio policy manager that the output stops being used
|
||||||
* by corresponding stream. */
|
* by corresponding stream. */
|
||||||
int (*stop_output)(struct audio_policy *pol,
|
int (*stop_output)(struct audio_policy *pol,
|
||||||
audio_io_handle_t output,
|
audio_io_handle_t output,
|
||||||
audio_stream_type_t stream,
|
audio_stream_type_t stream,
|
||||||
int session);
|
audio_session_t session);
|
||||||
|
|
||||||
/* releases the output. */
|
/* releases the output. */
|
||||||
void (*release_output)(struct audio_policy *pol, audio_io_handle_t output);
|
void (*release_output)(struct audio_policy *pol, audio_io_handle_t output);
|
||||||
@@ -222,7 +222,7 @@ struct audio_policy {
|
|||||||
const struct effect_descriptor_s *desc,
|
const struct effect_descriptor_s *desc,
|
||||||
audio_io_handle_t output,
|
audio_io_handle_t output,
|
||||||
uint32_t strategy,
|
uint32_t strategy,
|
||||||
int session,
|
audio_session_t session,
|
||||||
int id);
|
int id);
|
||||||
|
|
||||||
int (*unregister_effect)(struct audio_policy *pol, int id);
|
int (*unregister_effect)(struct audio_policy *pol, int id);
|
||||||
@@ -367,7 +367,7 @@ struct audio_policy_service_ops {
|
|||||||
|
|
||||||
/* move effect to the specified output */
|
/* move effect to the specified output */
|
||||||
int (*move_effects)(void *service,
|
int (*move_effects)(void *service,
|
||||||
int session,
|
audio_session_t session,
|
||||||
audio_io_handle_t src_output,
|
audio_io_handle_t src_output,
|
||||||
audio_io_handle_t dst_output);
|
audio_io_handle_t dst_output);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user