Files
hardware_interfaces/audio/device/2.0/default/Device.cpp
Kevin Rocard e9e4e16564 Audio V4: Make device default wrapper device independent
Bug: 38184704
Test: compile
Change-Id: I077d2d6176ba5d60c1994345b3164641ed5b4608
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-01-20 10:49:57 -08:00

29 lines
995 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 "DeviceHAL"
#include "device/2.0/default/Device.h"
#include <HidlUtils.h>
#include "device/2.0/default/Conversions.h"
#include "device/2.0/default/StreamIn.h"
#include "device/2.0/default/StreamOut.h"
#include "device/all-versions/default/Util.h"
#define AUDIO_HAL_VERSION V2_0
#include <device/all-versions/default/Device.impl.h>
#undef AUDIO_HAL_VERSION