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

Commit 9e25c496 authored by Asish Bhattacharya's avatar Asish Bhattacharya
Browse files

hal: compilation fix for audio hal.

- Fix compilation of 8952 hal.

Change-Id: Ie60415eaac051ee411e0051d77465bbe1b075f93
parent b0d612f7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3292,6 +3292,11 @@ uint32_t platform_get_pcm_offload_buffer_size(audio_offload_info_t* info)
    return fragment_size;
}

bool platform_use_small_buffer(audio_offload_info_t* info)
{
    return OFFLOAD_USE_SMALL_BUFFER;
}

int platform_set_codec_backend_cfg(struct audio_device* adev,
                         unsigned int bit_width, unsigned int sample_rate)
{