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 #define MPH_3DCOMMIT 0 26 #define MPH_3DDOPPLER 1 27 #define MPH_3DGROUPING 2 28 #define MPH_3DLOCATION 3 29 #define MPH_3DMACROSCOPIC 4 30 #define MPH_3DSOURCE 5 31 #define MPH_AUDIODECODERCAPABILITIES 6 32 #define MPH_AUDIOENCODER 7 33 #define MPH_AUDIOENCODERCAPABILITIES 8 34 #define MPH_AUDIOIODEVICECAPABILITIES 9 35 #define MPH_BASSBOOST 10 36 #define MPH_BUFFERQUEUE 11 37 #define MPH_DEVICEVOLUME 12 38 #define MPH_DYNAMICINTERFACEMANAGEMENT 13 39 #define MPH_DYNAMICSOURCE 14 40 #define MPH_EFFECTSEND 15 41 #define MPH_ENGINE 16 42 #define MPH_ENGINECAPABILITIES 17 43 #define MPH_ENVIRONMENTALREVERB 18 44 #define MPH_EQUALIZER 19 45 #define MPH_LED 20 46 #define MPH_METADATAEXTRACTION 21 47 #define MPH_METADATATRAVERSAL 22 48 #define MPH_MIDIMESSAGE 23 49 #define MPH_MIDIMUTESOLO 24 50 #define MPH_MIDITEMPO 25 51 #define MPH_MIDITIME 26 52 #define MPH_MUTESOLO 27 53 #define MPH_NULL 28 54 #define MPH_OBJECT 29 55 #define MPH_OUTPUTMIX 30 56 #define MPH_PITCH 31 57 #define MPH_PLAY 32 58 #define MPH_PLAYBACKRATE 33 59 #define MPH_PREFETCHSTATUS 34 60 #define MPH_PRESETREVERB 35 61 #define MPH_RATEPITCH 36 62 #define MPH_RECORD 37 63 #define MPH_SEEK 38 64 #define MPH_THREADSYNC 39 65 #define MPH_VIBRA 40 66 #define MPH_VIRTUALIZER 41 67 #define MPH_VISUALIZATION 42 68 #define MPH_VOLUME 43 69 // end Khronos standard interfaces 70 71 // The lack of ifdef on the remaining is intentional 72 73 // start non-standard and platform-independent interface IDs 74 #define MPH_OUTPUTMIXEXT 44 75 // end non-standard and platform-independent interface IDs 76 77 // start non-standard and platform-specific interface IDs 78 #define MPH_ANDROIDEFFECT 45 79 #define MPH_ANDROIDEFFECTCAPABILITIES 46 80 #define MPH_ANDROIDEFFECTSEND 47 81 #define MPH_ANDROIDCONFIGURATION 48 82 #define MPH_ANDROIDSIMPLEBUFFERQUEUE 49 83 // end non-standard and platform-specific interface IDs 84 85 // total number 86 #define MPH_MAX 50 87 88 #endif // !defined(__MPH_H) 89