AudioManager为上层提供的音频类型包括:呼叫(STREAM_VOICE_CALL)、系统音(STREAM_SYSTEM)、电话铃声(STREAM_RING)、音乐播放(STREAM_MUSIC)、闹钟(STREAM_ALARM)、提示音(STREAM_ NOTIFICATION)、蓝牙接听电话(STREAM_BLUETOOTH_SCO)、部分如和日本所需的增强型系统音(STREAM_SYSTEM_ENFORCED)、DTMF音(STREAM_DTMF)、TTS...
IsStreamMute IsSurroundFormatEnabled IsVolumeGroupMuted LoadSoundEffects LoadSoundEffectsAsync PlaySoundEffect RegisterAudioDeviceCallback RegisterAudioPlaybackCallback RegisterAudioRecordingCallback RegisterMediaButtonEventReceiver RegisterRemoteControlClient RegisterRemoteController RemoveOnCommunicationDeviceChangedListener ...
// STREAM_VOICE_CALL 7, // STREAM_SYSTEM 7, // STREAM_RING 15, // STREAM_MUSIC 7, // STREAM_ALARM 7, // STREAM_NOTIFICATION 15, // STREAM_BLUETOOTH_SCO 7, // STREAM_SYSTEM_ENFORCED 15, // STREAM_DTMF 15 // STREAM_TTS ...
SetStreamSolo SetStreamVolume SetSurroundFormatEnabled SetVibrateSetting ShouldVibrate StartBluetoothSco StopBluetoothSco UnloadSoundEffects UnregisterAudioDeviceCallback UnregisterAudioPlaybackCallback UnregisterAudioRecordingCallback UnregisterMediaButtonEventReceiver UnregisterRemoteControlClient UnregisterRemoteController Au...
Even if a SCO connection is established, the following restrictions apply on audio output streams so that they can be routed to SCO headset: the stream type must be #STREAM_VOICE_CALL the format must be mono the sampling must be 16kHz or 8kHz The following restrictions apply on...
Transform.Stream Javax.Xml.Validation Javax.Xml.Xpath Org.Apache.Commons.Logging Org.Apache.Http Org.Apache.Http.Auth.Params Org.Apache.Http.Authentication Org.Apache.Http.Client Org.Apache.Http.Client.Entity Org.Apache.Http.Client.Methods Org.Apache.Http.Client.Params Org.Apache.Http.Client....
您正在“按顺序调用”您的三个方法,但实际发生的是调用第三个方法,将系统卷重新设置为正常的.在TTS...
audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, currentVolume,0); } The purpose is to give the volume control to the user and not allow the TTS service to be impacted by the phone volume. Additional functions to assist the solution: ...
getStreamVolume() The following examples show how to use android.media.AudioManager#getStreamVolume() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out ...
什么是D/AudioManager(12346):颤动中的getStreamVolume isRestricted模式=0? 在Linux中获取C中的主音量 windows phone 8.1中的音量级别 如何更改unity video player中的音量 我可以改变我的音频文件的音量而不改变颤动中的系统音量吗? 与ScheduledExecutorService配合使用的安卓SoundPool偶尔会停止播放声音 linux中查看网站的...