1*bebae9c0SAndroid Build Coastguard Worker /* 2*bebae9c0SAndroid Build Coastguard Worker * Copyright (C) 2010 The Android Open Source Project 3*bebae9c0SAndroid Build Coastguard Worker * 4*bebae9c0SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*bebae9c0SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*bebae9c0SAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*bebae9c0SAndroid Build Coastguard Worker * 8*bebae9c0SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*bebae9c0SAndroid Build Coastguard Worker * 10*bebae9c0SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*bebae9c0SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*bebae9c0SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*bebae9c0SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*bebae9c0SAndroid Build Coastguard Worker * limitations under the License. 15*bebae9c0SAndroid Build Coastguard Worker */ 16*bebae9c0SAndroid Build Coastguard Worker 17*bebae9c0SAndroid Build Coastguard Worker /** \file platform.h Platform-specific configuration constants */ 18*bebae9c0SAndroid Build Coastguard Worker 19*bebae9c0SAndroid Build Coastguard Worker #if defined(ANDROID) || defined(USE_SDL) 20*bebae9c0SAndroid Build Coastguard Worker #define PLATFORM_MILLIBEL_MAX_VOLUME 0 // No more than unity gain 21*bebae9c0SAndroid Build Coastguard Worker #else 22*bebae9c0SAndroid Build Coastguard Worker #define PLATFORM_MILLIBEL_MAX_VOLUME SL_MILLIBEL_MAX 23*bebae9c0SAndroid Build Coastguard Worker #endif 24