mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
This patch does not have any functional change. It refactors Util.h to make it version dependant. This is needed in the next patch to add a helper that uses HIDL types. This patch is the fixed first half of I41204c0807d2bd4675e941771cbc9a43d7d14855 that was reverted due to a merge conflict. Bug: 72873273 Bug: 69811500 Bug: 69010523 Test: playback and record for media and voice call Original-Change-Id: I41204c0807d2bd4675e941771cbc9a43d7d14855 Change-Id: Ie543519fa0dca62486b75f42bb0c8a93d6cad3c3 Signed-off-by: Kevin Rocard <krocard@google.com>
25 lines
839 B
C++
25 lines
839 B
C++
/*
|
|
* Copyright (C) 2017 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#define LOG_TAG "StreamOutHAL"
|
|
|
|
#include "core/4.0/default/StreamOut.h"
|
|
#include "core/4.0/default/Util.h"
|
|
|
|
#define AUDIO_HAL_VERSION V4_0
|
|
#include <core/all-versions/default/StreamOut.impl.h>
|
|
#undef AUDIO_HAL_VERSION
|