Merge "Update (disabled) audio policy implementation to new interface" into jb-mr1-dev
This commit is contained in:
commit
50b9a1eb11
|
@ -68,7 +68,7 @@ static int ap_set_device_connection_state(struct audio_policy *pol,
|
||||||
{
|
{
|
||||||
struct qcom_audio_policy *qap = to_qap(pol);
|
struct qcom_audio_policy *qap = to_qap(pol);
|
||||||
return qap->apm->setDeviceConnectionState(
|
return qap->apm->setDeviceConnectionState(
|
||||||
(AudioSystem::audio_devices)device,
|
device,
|
||||||
(AudioSystem::device_connection_state)state,
|
(AudioSystem::device_connection_state)state,
|
||||||
device_address);
|
device_address);
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ static audio_policy_dev_state_t ap_get_device_connection_state(
|
||||||
{
|
{
|
||||||
const struct qcom_audio_policy *qap = to_cqap(pol);
|
const struct qcom_audio_policy *qap = to_cqap(pol);
|
||||||
return (audio_policy_dev_state_t)qap->apm->getDeviceConnectionState(
|
return (audio_policy_dev_state_t)qap->apm->getDeviceConnectionState(
|
||||||
(AudioSystem::audio_devices)device,
|
device,
|
||||||
device_address);
|
device_address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue