diff options
author | Kevin Rocard <krocard@google.com> | 2018-03-01 15:08:07 -0800 |
---|---|---|
committer | Kevin Rocard <krocard@google.com> | 2018-03-05 17:04:33 -0800 |
commit | 4fa9ca1337a426eb8217129b01a80f01bc9229ce (patch) | |
tree | a8200e9b49d27c1ff21360ccb06cf84a1ed33ed1 /audio/core/4.0/default/ParametersUtil.cpp | |
parent | 4e914ffb1ad9ca621438623ad69af6498ff570e7 (diff) |
Audio V4: Implement the shim core 4.0 -> legacy
All the new files added are a copy of the 2.0 ones, with just the
version 2 that was changed to 4.
Due to the rollback on the retrocompatiblity breakage,
the split of implementation is not strictly needed any more.
This makes the current split in .impl.h and double include
unnecessary complicated.
This will need to be factorized in a future patch.
Bug: 38184704
Test: compile
Change-Id: I0d699ade7558ed68125b300f8522e2767ae1ee37
Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'audio/core/4.0/default/ParametersUtil.cpp')
-rw-r--r-- | audio/core/4.0/default/ParametersUtil.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/core/4.0/default/ParametersUtil.cpp b/audio/core/4.0/default/ParametersUtil.cpp new file mode 100644 index 0000000000..5c1b1c4b18 --- /dev/null +++ b/audio/core/4.0/default/ParametersUtil.cpp @@ -0,0 +1,21 @@ +/* + * 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. + */ + +#include "core/4.0/default/ParametersUtil.h" + +#define AUDIO_HAL_VERSION V4_0 +#include <core/all-versions/default/ParametersUtil.impl.h> +#undef AUDIO_HAL_VERSION |