diff options
author | Kevin Rocard <krocard@google.com> | 2017-12-20 18:42:24 -0800 |
---|---|---|
committer | Kevin Rocard <krocard@google.com> | 2018-01-20 10:49:57 -0800 |
commit | 3887e2443668da431b84cdc7431d658a3ae05db3 (patch) | |
tree | 499ee8e9d18115e75b3f766e16363927c140c135 /audio/core/2.0/default/Stream.cpp | |
parent | 62588b69f6289e2ccb7a363a4b0727d51b76bfb5 (diff) |
Audio V4: Rename audio/device to audio/core
The name device has already too many meaning, thus rename the main audio
api to core.
Bug: 38184704
Test: compile
Change-Id: I178dfef05af8f8579196affbe2cbc5f6c3f9af55
Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'audio/core/2.0/default/Stream.cpp')
-rw-r--r-- | audio/core/2.0/default/Stream.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/core/2.0/default/Stream.cpp b/audio/core/2.0/default/Stream.cpp new file mode 100644 index 0000000000..69ee659811 --- /dev/null +++ b/audio/core/2.0/default/Stream.cpp @@ -0,0 +1,25 @@ +/* + * 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 "StreamHAL" + +#include "core/2.0/default/Stream.h" +#include "common/all-versions/default/EffectMap.h" +#include "core/2.0/default/Conversions.h" + +#define AUDIO_HAL_VERSION V2_0 +#include <core/all-versions/default/Stream.impl.h> +#undef AUDIO_HAL_VERSION |