• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2021 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.media;
18 
19 /**
20  * The spatialization level supported by the spatializer stage effect implementation.
21  * Used by methods of the ISpatializer interface.
22  * {@hide}
23  */
24 @Backing(type="byte")
25 enum SpatializationLevel {
26     /** Spatialization is disabled. */
27     NONE = 0,
28     /** The spatializer accepts audio with positional multichannel masks (e.g 5.1). */
29     SPATIALIZER_MULTICHANNEL = 1,
30     /** The spatializer accepts audio made of a channel bed of positional multichannels (e.g 5.1)
31      * and audio objects positioned independently via meta data.
32      */
33     SPATIALIZER_MCHAN_BED_PLUS_OBJECTS = 2,
34 }
35