1*ec779b8eSAndroid Build Coastguard Worker /* 2*ec779b8eSAndroid Build Coastguard Worker * Copyright (C) 2020 The Android Open Source Project 3*ec779b8eSAndroid Build Coastguard Worker * 4*ec779b8eSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*ec779b8eSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*ec779b8eSAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*ec779b8eSAndroid Build Coastguard Worker * 8*ec779b8eSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*ec779b8eSAndroid Build Coastguard Worker * 10*ec779b8eSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*ec779b8eSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*ec779b8eSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*ec779b8eSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*ec779b8eSAndroid Build Coastguard Worker * limitations under the License. 15*ec779b8eSAndroid Build Coastguard Worker */ 16*ec779b8eSAndroid Build Coastguard Worker 17*ec779b8eSAndroid Build Coastguard Worker package android.media; 18*ec779b8eSAndroid Build Coastguard Worker 19*ec779b8eSAndroid Build Coastguard Worker import android.media.InterpolatorConfig; 20*ec779b8eSAndroid Build Coastguard Worker import android.media.VolumeShaperConfigurationOptionFlag; 21*ec779b8eSAndroid Build Coastguard Worker import android.media.VolumeShaperConfigurationType; 22*ec779b8eSAndroid Build Coastguard Worker 23*ec779b8eSAndroid Build Coastguard Worker /** 24*ec779b8eSAndroid Build Coastguard Worker * {@hide} 25*ec779b8eSAndroid Build Coastguard Worker */ 26*ec779b8eSAndroid Build Coastguard Worker parcelable VolumeShaperConfiguration { 27*ec779b8eSAndroid Build Coastguard Worker VolumeShaperConfigurationType type = VolumeShaperConfigurationType.ID; 28*ec779b8eSAndroid Build Coastguard Worker int id; 29*ec779b8eSAndroid Build Coastguard Worker /** Bitmask, indexed by VolumeShaperConfigurationOptionFlag. */ 30*ec779b8eSAndroid Build Coastguard Worker int optionFlags; 31*ec779b8eSAndroid Build Coastguard Worker double durationMs; 32*ec779b8eSAndroid Build Coastguard Worker @nullable InterpolatorConfig interpolatorConfig; // null if type == ID 33*ec779b8eSAndroid Build Coastguard Worker } 34