MPH.h revision b0ab2dee391dd2cb257faeaba252ee6ecccc5f03
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#ifndef __MPH_H 18#define __MPH_H 19 20// Minimal perfect hash for each interface ID 21 22#define MPH_NONE (-1) 23#define MPH_MIN 0 24 25// OpenSL ES 1.0.1 interfaces 26#define MPH_3DCOMMIT 0 27#define MPH_3DDOPPLER 1 28#define MPH_3DGROUPING 2 29#define MPH_3DLOCATION 3 30#define MPH_3DMACROSCOPIC 4 31#define MPH_3DSOURCE 5 32#define MPH_AUDIODECODERCAPABILITIES 6 33#define MPH_AUDIOENCODER 7 34#define MPH_AUDIOENCODERCAPABILITIES 8 35#define MPH_AUDIOIODEVICECAPABILITIES 9 36#define MPH_BASSBOOST 10 37#define MPH_BUFFERQUEUE 11 38#define MPH_DEVICEVOLUME 12 39#define MPH_DYNAMICINTERFACEMANAGEMENT 13 40#define MPH_DYNAMICSOURCE 14 41#define MPH_EFFECTSEND 15 42#define MPH_ENGINE 16 43#define MPH_ENGINECAPABILITIES 17 44#define MPH_ENVIRONMENTALREVERB 18 45#define MPH_EQUALIZER 19 46#define MPH_LED 20 47#define MPH_METADATAEXTRACTION 21 48#define MPH_METADATATRAVERSAL 22 49#define MPH_MIDIMESSAGE 23 50#define MPH_MIDIMUTESOLO 24 51#define MPH_MIDITEMPO 25 52#define MPH_MIDITIME 26 53#define MPH_MUTESOLO 27 54#define MPH_NULL 28 55#define MPH_OBJECT 29 56#define MPH_OUTPUTMIX 30 57#define MPH_PITCH 31 58#define MPH_PLAY 32 59#define MPH_PLAYBACKRATE 33 60#define MPH_PREFETCHSTATUS 34 61#define MPH_PRESETREVERB 35 62#define MPH_RATEPITCH 36 63#define MPH_RECORD 37 64#define MPH_SEEK 38 65#define MPH_THREADSYNC 39 66#define MPH_VIBRA 40 67#define MPH_VIRTUALIZER 41 68#define MPH_VISUALIZATION 42 69#define MPH_VOLUME 43 70 71// Wilhelm desktop extended interfaces 72#define MPH_OUTPUTMIXEXT 44 73 74// Android API level 9 extended interfaces 75#define MPH_ANDROIDEFFECT 45 76#define MPH_ANDROIDEFFECTCAPABILITIES 46 77#define MPH_ANDROIDEFFECTSEND 47 78#define MPH_ANDROIDCONFIGURATION 48 79#define MPH_ANDROIDSIMPLEBUFFERQUEUE 49 80 81// Android API level 10 extended interfaces 82#define MPH_ANDROIDSTREAMSOURCE 50 83 84// total number of interface IDs 85#define MPH_MAX 51 86 87#endif // !defined(__MPH_H) 88