Searched defs:mix (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java53 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
57 public void addMix(AudioMix mix) throws IllegalArgumentException { argument
58 if (mix == null) {
61 mMixes.add(mix);
81 for (AudioMix mix : mMixes) {
82 // write mix route flags
83 dest.writeInt(mix.getRouteFlags());
85 dest.writeInt(mix.mCallbackFlags);
87 dest.writeInt(mix.mDeviceSystemType);
88 dest.writeString(mix
[all...]
H A DAudioPolicy.java144 * @param mix a non-null {@link AudioMix} to be part of the audio policy.
149 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { argument
150 if (mix == null) {
153 mMixes.add(mix);
193 // the AudioPolicy status listener includes updates on each mix activity state
194 for (AudioMix mix : mMixes) {
195 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY;
240 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) argument
242 if (mix == null) {
247 if (!mConfig.mMixes.contains(mix)) {
330 createAudioRecordSink(AudioMix mix) argument
369 createAudioTrackSource(AudioMix mix) argument
398 onMixStateUpdate(AudioMix mix) argument
499 addressForTag(AudioMix mix) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp44 void AudioPolicyMix::setMix(AudioMix &mix) argument
46 mMix = mix;
54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix, argument
59 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string());
63 policyMix->setMix(mix);
77 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
90 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
114 AudioMix *mix = policyMix->getMix(); local
116 if (mix->mMixType == MIX_TYPE_PLAYERS) {
131 // iterate over all mix criteri
236 AudioMix *mix = valueAt(i)->getMix(); local
270 AudioMix *mix = policyMix->getMix(); local
281 AudioMix *mix = audioPolicyMix->getMix(); local
[all...]
/frameworks/base/libs/hwui/
H A DGradientCache.cpp237 ChannelMixer mix = gMixers[mUseFloatTexture]; local
263 (this->*mix)(start, end, amount, dst);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp74 // nothing to mix. However, this causes some problems with certain firewalls and
106 bool mix(int32_t *output, int head, int tail, int sampleRate);
236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) function in class:__anon1612::AudioStream
312 data |= chain->mix(buffer, tick - mInterval, tick, mSampleRate);
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp1319 AudioMix mix; local
1320 if (mix.readFromParcel((Parcel*)&data) == NO_ERROR) {
1321 mixes.add(mix);
/frameworks/rs/driver/runtime/
H A Drs_cl.c952 extern float __attribute__((overloadable)) mix(float start, float stop, float amount) { function
955 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { function
958 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float3 amount) { function
961 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float4 amount) { function
964 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { function
967 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float amount) { function
970 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float amount) { function
2076 extern half __attribute__((overloadable)) mix(half start, half stop, half amount) { function
2079 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half2 amount) { function
2082 extern half3 __attribute__((overloadable)) mix(half function
2085 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half4 amount) { function
2088 extern half2 __attribute__((overloadable)) mix(half2 start, half2 stop, half amount) { function
2091 extern half3 __attribute__((overloadable)) mix(half3 start, half3 stop, half amount) { function
2094 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half amount) { function
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp732 nAudioPortConfig->type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix");
739 // constructed by java code with correct class type (device, mix etc...)
856 ALOGV("convertAudioPortConfigFromNative building a mix config");
1047 ALOGV("convertAudioPortFromNative is a mix");
1049 jHandle, nAudioPort->ext.mix.handle,
1432 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1457 nPatches[i].sinks[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1675 AudioMix mix; local
1676 jStatus = convertAudioMixToNative(env, &mix, jAudioMix);
1682 mixes.add(mix);
[all...]

Completed in 468 milliseconds