Glenn Kasten | 527f8ca | 2011-03-16 08:54:50 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 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 | #include "sles_allinclusive.h" |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | extern "C" { |
| 21 | #endif |
| 22 | |
| 23 | // OpenSL ES 1.0.1 interfaces |
| 24 | const SLInterfaceID SL_IID_3DCOMMIT = &SL_IID_array[MPH_3DCOMMIT]; |
| 25 | const SLInterfaceID SL_IID_3DDOPPLER = &SL_IID_array[MPH_3DDOPPLER]; |
| 26 | const SLInterfaceID SL_IID_3DGROUPING = &SL_IID_array[MPH_3DGROUPING]; |
| 27 | const SLInterfaceID SL_IID_3DLOCATION = &SL_IID_array[MPH_3DLOCATION]; |
| 28 | const SLInterfaceID SL_IID_3DMACROSCOPIC = &SL_IID_array[MPH_3DMACROSCOPIC]; |
| 29 | const SLInterfaceID SL_IID_3DSOURCE = &SL_IID_array[MPH_3DSOURCE]; |
| 30 | const SLInterfaceID SL_IID_AUDIODECODERCAPABILITIES = &SL_IID_array[MPH_AUDIODECODERCAPABILITIES]; |
| 31 | const SLInterfaceID SL_IID_AUDIOENCODER = &SL_IID_array[MPH_AUDIOENCODER]; |
| 32 | const SLInterfaceID SL_IID_AUDIOENCODERCAPABILITIES = &SL_IID_array[MPH_AUDIOENCODERCAPABILITIES]; |
| 33 | const SLInterfaceID SL_IID_AUDIOIODEVICECAPABILITIES = &SL_IID_array[MPH_AUDIOIODEVICECAPABILITIES]; |
| 34 | const SLInterfaceID SL_IID_BASSBOOST = &SL_IID_array[MPH_BASSBOOST]; |
| 35 | const SLInterfaceID SL_IID_BUFFERQUEUE = &SL_IID_array[MPH_BUFFERQUEUE]; |
| 36 | const SLInterfaceID SL_IID_DEVICEVOLUME = &SL_IID_array[MPH_DEVICEVOLUME]; |
| 37 | const SLInterfaceID SL_IID_DYNAMICINTERFACEMANAGEMENT = |
| 38 | &SL_IID_array[MPH_DYNAMICINTERFACEMANAGEMENT]; |
| 39 | const SLInterfaceID SL_IID_DYNAMICSOURCE = &SL_IID_array[MPH_DYNAMICSOURCE]; |
| 40 | const SLInterfaceID SL_IID_EFFECTSEND = &SL_IID_array[MPH_EFFECTSEND]; |
| 41 | const SLInterfaceID SL_IID_ENGINE = &SL_IID_array[MPH_ENGINE]; |
| 42 | const SLInterfaceID SL_IID_ENGINECAPABILITIES = &SL_IID_array[MPH_ENGINECAPABILITIES]; |
| 43 | const SLInterfaceID SL_IID_ENVIRONMENTALREVERB = &SL_IID_array[MPH_ENVIRONMENTALREVERB]; |
| 44 | const SLInterfaceID SL_IID_EQUALIZER = &SL_IID_array[MPH_EQUALIZER]; |
| 45 | const SLInterfaceID SL_IID_LED = &SL_IID_array[MPH_LED]; |
| 46 | const SLInterfaceID SL_IID_METADATAEXTRACTION = &SL_IID_array[MPH_METADATAEXTRACTION]; |
| 47 | const SLInterfaceID SL_IID_METADATATRAVERSAL = &SL_IID_array[MPH_METADATATRAVERSAL]; |
| 48 | const SLInterfaceID SL_IID_MIDIMESSAGE = &SL_IID_array[MPH_MIDIMESSAGE]; |
| 49 | const SLInterfaceID SL_IID_MIDIMUTESOLO = &SL_IID_array[MPH_MIDIMUTESOLO]; |
| 50 | const SLInterfaceID SL_IID_MIDITEMPO = &SL_IID_array[MPH_MIDITEMPO]; |
| 51 | const SLInterfaceID SL_IID_MIDITIME = &SL_IID_array[MPH_MIDITIME]; |
| 52 | const SLInterfaceID SL_IID_MUTESOLO = &SL_IID_array[MPH_MUTESOLO]; |
| 53 | const SLInterfaceID SL_IID_NULL = &SL_IID_array[MPH_NULL]; |
| 54 | const SLInterfaceID SL_IID_OBJECT = &SL_IID_array[MPH_OBJECT]; |
| 55 | const SLInterfaceID SL_IID_OUTPUTMIX = &SL_IID_array[MPH_OUTPUTMIX]; |
| 56 | const SLInterfaceID SL_IID_PITCH = &SL_IID_array[MPH_PITCH]; |
| 57 | const SLInterfaceID SL_IID_PLAY = &SL_IID_array[MPH_PLAY]; |
| 58 | const SLInterfaceID SL_IID_PLAYBACKRATE = &SL_IID_array[MPH_PLAYBACKRATE]; |
| 59 | const SLInterfaceID SL_IID_PREFETCHSTATUS = &SL_IID_array[MPH_PREFETCHSTATUS]; |
| 60 | const SLInterfaceID SL_IID_PRESETREVERB = &SL_IID_array[MPH_PRESETREVERB]; |
| 61 | const SLInterfaceID SL_IID_RATEPITCH = &SL_IID_array[MPH_RATEPITCH]; |
| 62 | const SLInterfaceID SL_IID_RECORD = &SL_IID_array[MPH_RECORD]; |
| 63 | const SLInterfaceID SL_IID_SEEK = &SL_IID_array[MPH_SEEK]; |
| 64 | const SLInterfaceID SL_IID_THREADSYNC = &SL_IID_array[MPH_THREADSYNC]; |
| 65 | const SLInterfaceID SL_IID_VIBRA = &SL_IID_array[MPH_VIBRA]; |
| 66 | const SLInterfaceID SL_IID_VIRTUALIZER = &SL_IID_array[MPH_VIRTUALIZER]; |
| 67 | const SLInterfaceID SL_IID_VISUALIZATION = &SL_IID_array[MPH_VISUALIZATION]; |
| 68 | const SLInterfaceID SL_IID_VOLUME = &SL_IID_array[MPH_VOLUME]; |
| 69 | |
| 70 | // Wilhelm desktop extended interfaces |
| 71 | extern const SLInterfaceID SL_IID_OUTPUTMIXEXT; |
| 72 | const SLInterfaceID SL_IID_OUTPUTMIXEXT = &SL_IID_array[MPH_OUTPUTMIXEXT]; |
| 73 | |
| 74 | // Android API level 9 extended interfaces |
| 75 | const SLInterfaceID SL_IID_ANDROIDEFFECT = &SL_IID_array[MPH_ANDROIDEFFECT]; |
| 76 | const SLInterfaceID SL_IID_ANDROIDEFFECTCAPABILITIES = &SL_IID_array[MPH_ANDROIDEFFECTCAPABILITIES]; |
| 77 | const SLInterfaceID SL_IID_ANDROIDEFFECTSEND = &SL_IID_array[MPH_ANDROIDEFFECTSEND]; |
| 78 | const SLInterfaceID SL_IID_ANDROIDCONFIGURATION = &SL_IID_array[MPH_ANDROIDCONFIGURATION]; |
| 79 | const SLInterfaceID SL_IID_ANDROIDSIMPLEBUFFERQUEUE = &SL_IID_array[MPH_ANDROIDSIMPLEBUFFERQUEUE]; |
| 80 | |
Glenn Kasten | a361b51 | 2011-04-04 08:57:22 -0700 | [diff] [blame] | 81 | // Android API level 12 extended interfaces |
| 82 | // GUID and MPH are shared by SL and XA |
Glenn Kasten | 60ca9f9 | 2011-08-29 14:32:10 -0700 | [diff] [blame] | 83 | const SLInterfaceID SL_IID_ANDROIDBUFFERQUEUESOURCE = &SL_IID_array[MPH_ANDROIDBUFFERQUEUESOURCE]; |
Glenn Kasten | 527f8ca | 2011-03-16 08:54:50 -0700 | [diff] [blame] | 84 | |
Paul McLean | f8b3141 | 2014-05-15 14:23:20 -0700 | [diff] [blame] | 85 | const SLInterfaceID SL_IID_ANDROIDACOUSTICECHOCANCELLATION = |
| 86 | &SL_IID_array[MPH_ANDROIDACOUSTICECHOCANCELLATION]; |
| 87 | const SLInterfaceID SL_IID_ANDROIDAUTOMATICGAINCONTROL = |
| 88 | &SL_IID_array[MPH_ANDROIDAUTOMATICGAINCONTROL]; |
| 89 | const SLInterfaceID SL_IID_ANDROIDNOISESUPPRESSION = &SL_IID_array[MPH_ANDROIDNOISESUPPRESSION]; |
| 90 | |
Glenn Kasten | 527f8ca | 2011-03-16 08:54:50 -0700 | [diff] [blame] | 91 | #ifdef __cplusplus |
| 92 | } |
| 93 | #endif |