summaryrefslogtreecommitdiff
path: root/audio/core/2.0/default/StreamIn.cpp
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2017-12-20 18:42:24 -0800
committerKevin Rocard <krocard@google.com>2018-01-20 10:49:57 -0800
commit3887e2443668da431b84cdc7431d658a3ae05db3 (patch)
tree499ee8e9d18115e75b3f766e16363927c140c135 /audio/core/2.0/default/StreamIn.cpp
parent62588b69f6289e2ccb7a363a4b0727d51b76bfb5 (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/StreamIn.cpp')
-rw-r--r--audio/core/2.0/default/StreamIn.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/core/2.0/default/StreamIn.cpp b/audio/core/2.0/default/StreamIn.cpp
new file mode 100644
index 0000000000..6b8776ebe5
--- /dev/null
+++ b/audio/core/2.0/default/StreamIn.cpp
@@ -0,0 +1,24 @@
+/*
+ * 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 "StreamInHAL"
+
+#include "core/2.0/default/StreamIn.h"
+#include "core/all-versions/default/Util.h"
+
+#define AUDIO_HAL_VERSION V2_0
+#include <core/all-versions/default/StreamIn.impl.h>
+#undef AUDIO_HAL_VERSION