Searched refs:mute (Results 1 - 19 of 19) sorted by relevance

/frameworks/wilhelm/src/itf/
H A DIMuteSolo.c22 static SLresult IMuteSolo_SetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean mute) argument
43 if (mute) {
71 SLboolean mute; local
75 mute = SL_BOOLEAN_FALSE;
78 mute = SL_BOOLEAN_FALSE;
82 mute = (SLboolean) ((mask >> chan) & 1);
86 *pMute = mute;
H A DIVolume.c79 static SLresult IVolume_SetMute(SLVolumeItf self, SLboolean mute) argument
84 mute = SL_BOOLEAN_FALSE != mute; // normalize
87 if (oldMute != mute) {
88 thiz->mMute = (SLuint8) mute;
108 SLboolean mute = thiz->mMute; local
110 *pMute = mute;
H A DIMIDIMuteSolo.c23 SLboolean mute)
33 if (mute)
126 static SLresult IMIDIMuteSolo_SetTrackMute(SLMIDIMuteSoloItf self, SLuint16 track, SLboolean mute) argument
137 if (mute)
22 IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, SLboolean mute) argument
H A DI3DSource.c97 static SLresult I3DSource_SetRolloffMaxDistanceMute(SL3DSourceItf self, SLboolean mute) argument
103 thiz->mRolloffMaxDistanceMute = SL_BOOLEAN_FALSE != mute; // normalize
120 SLboolean mute = thiz->mRolloffMaxDistanceMute; local
122 *pMute = mute;
H A DIOutputMixExt.c426 /** \brief Called when a gain-related field (mute, solo, volume, stereo position, etc.) updated */
430 SLboolean mute = audioPlayer->mVolume.mMute; local
440 if (mute || !(~muteMask & 3)) {
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp228 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument
230 return check_AudioSystem_Command(AudioSystem::setMasterMute(mute));
236 bool mute; local
237 if (AudioSystem::getMasterMute(&mute) != NO_ERROR) {
238 mute = false;
240 return mute;
/frameworks/av/include/media/
H A DAudioSystem.h43 // mute/unmute microphone
51 // mute/unmute audio outputs
52 static status_t setMasterMute(bool mute);
53 static status_t getMasterMute(bool* mute);
61 // mute/unmute stream
62 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
63 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java105 String mute = args.getString("mute");
106 if (mute != null) {
107 int iconId = mute.equals("show") ? android.R.drawable.stat_notify_call_mute
109 updateSlot("mute", null, iconId);
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp108 status_t AudioSystem::setMasterMute(bool mute) argument
112 af->setMasterMute(mute);
124 status_t AudioSystem::getMasterMute(bool* mute) argument
128 *mute = af->masterMute();
142 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) argument
147 af->setStreamMute(stream, mute);
161 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, bool* mute) argument
166 *mute = af->streamMute(stream);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h384 mute(false)
388 bool mute; member in struct:android::AudioFlinger::stream_type_t
448 { return mStreamTypes[stream].mute; }
H A DThreads.cpp1032 // If the HAL we are using has support for master volume or master mute,
1033 // then do not attenuate or mute during mixing (just leave the volume at 1.0
1034 // and the mute set to false).
1054 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream);
1086 if (st->mute) {
1395 // Don't apply master mute in SW if our HAL can do it for us.
1414 mStreamTypes[stream].mute = muted;
3089 if (track->isPausing() || mStreamTypes[track->streamType()].mute) {
3552 if (mMasterMute || mStreamTypes[track->streamType()].mute) {
H A DAudioFlinger.cpp738 // Set master mute in the HALs which support it.
750 // Now set the master mute in each playback thread. Playback threads
751 // assigned to HALs which do not have master mute support will apply master
752 // mute during the mix operation. Threads with HALs which do support master
753 // mute will simply ignore the setting.
831 mStreamTypes[stream].mute = muted;
1354 // Check and cache this HAL's level of support for master mute and master
1357 // master mute and volume settings.
/frameworks/base/media/java/android/media/
H A DAudioSystem.java65 * Sets the microphone mute on or off.
67 * @param on set <var>true</var> to mute the microphone;
68 * <var>false</var> to turn mute off
74 * Checks whether the microphone mute is on or off.
395 public static native int setMasterMute(boolean mute); argument
H A DAudioService.java525 // Call setRingerModeInt() to apply correct mute
623 pw.print("\n- mute affected streams = 0x");
646 // apply stream mute states according to new value of mRingerModeAffectedStreams
1239 mStreamStates[stream].mute(cb, state);
1250 mStreamStates[streamType].mute(cb, state);
1254 /** get stream mute state. */
1274 /** get master mute state. */
1429 mStreamStates[streamType].mute(null, false);
1435 mStreamStates[streamType].mute(null, true);
1887 // restore ringer mode, ringer mode affected streams, mute affecte
3041 public synchronized void mute(IBinder cb, boolean state) { method in class:AudioService.VolumeStreamState
3073 public void mute(boolean state) { method in class:AudioService.VolumeStreamState.VolumeDeathHandler
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1529 // mute: enable/disable flag
1533 int32_t VolumeSetMute(EffectContext *pContext, uint32_t mute){ argument
1534 //ALOGV("\tVolumeSetMute start(%d)", mute);
1536 pContext->pBundledContext->bMuteEnabled = mute;
1560 // mute: enable/disable flag
1563 int32_t VolumeGetMute(EffectContext *pContext, uint32_t *mute){ argument
1567 *mute = pContext->pBundledContext->bMuteEnabled;
1699 // mute: enable/disable flag
2351 uint32_t mute; local
2368 mute
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCallTracker.java82 boolean mDesiredMute = false; // false = mute off
785 setMute(boolean mute) { argument
786 mDesiredMute = mute;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCallTracker.java86 boolean mDesiredMute = false; // false = mute off
736 setMute(boolean mute) { argument
737 mDesiredMute = mute;
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1309 SLboolean mute
1830 SLboolean mute
1933 SLboolean mute
2084 SLboolean mute
2108 SLboolean mute
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h923 XAboolean mute

Completed in 3606 milliseconds