Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79c1b772 authored by Ramjee Singh's avatar Ramjee Singh Committed by Arne Coucheron
Browse files

policy_hal: fix for MR1 function prototype.

Change-Id: I0b4efbbe0620766e68999bb8e9cabe28ff9ba28d
parent 0a21127e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ status_t AudioPolicyManagerCustom::getInputForAttr(const audio_attributes_t *att
                                             audio_format_t format,
                                             audio_channel_mask_t channelMask,
                                             audio_input_flags_t flags,
                                             audio_port_handle_t selectedDeviceId,
                                             audio_port_handle_t *selectedDeviceId,
                                             input_type_t *inputType)
{
    ALOGV("getInputForAttr() source %d, samplingRate %d, format %d, channelMask %x,"
@@ -556,7 +556,7 @@ status_t AudioPolicyManagerCustom::getInputForAttr(const audio_attributes_t *att
    // Explicit routing?
    sp<DeviceDescriptor> deviceDesc;
    for (size_t i = 0; i < mAvailableInputDevices.size(); i++) {
        if (mAvailableInputDevices[i]->getId() == selectedDeviceId) {
        if (mAvailableInputDevices[i]->getId() == *selectedDeviceId) {
            deviceDesc = mAvailableInputDevices[i];
            break;
        }
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ public:
                                         audio_format_t format,
                                         audio_channel_mask_t channelMask,
                                         audio_input_flags_t flags,
                                         audio_port_handle_t selectedDeviceId,
                                         audio_port_handle_t *selectedDeviceId,
                                         input_type_t *inputType);
        virtual void setPhoneState(audio_mode_t state);
        virtual void setForceUse(audio_policy_force_use_t usage,