hal: Updated APIs to support Listen Multisession

Update open_listen_session API to add listen_open_params.

Change-Id: I203ef38676332a3054933750d200f1df36f0d097
This commit is contained in:
Bharath Ramachandramurthy 2014-01-14 07:59:41 -08:00
parent 0ae78608d5
commit 144f10beed
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@ -64,6 +64,7 @@ typedef int (*create_listen_hw_t)(unsigned int snd_card,
typedef void (*destroy_listen_hw_t)();
typedef int (*open_listen_session_t)(struct audio_hw_device *,
struct listen_open_params*,
struct listen_session**);
typedef int (*close_listen_session_t)(struct audio_hw_device *dev,
@ -119,7 +120,6 @@ void audio_extn_listen_update_status(snd_device_t snd_device,
void audio_extn_listen_set_parameters(struct audio_device *adev,
struct str_parms *parms)
{
ALOGV("%s: enter", __func__);
if (listen_dev) {
char *kv_pairs = str_parms_to_str(parms);