public String getProperty(String key) sourceThe host mixes at 48 kHz, in buffers of 256 frames.
public int generateAudioSessionId() sourcepublic boolean isMicrophoneMute() sourcepublic void setMicrophoneMute(boolean on) sourcepublic boolean isSpeakerphoneOn() sourcepublic void setSpeakerphoneOn(boolean on) sourcepublic boolean isWiredHeadsetOn() deprecated sourcepublic void setWiredHeadsetOn(boolean on) empty body deprecated sourcepublic boolean isBluetoothA2dpOn() sourcepublic boolean isBluetoothScoOn() sourcepublic boolean isBluetoothScoAvailableOffCall() sourcepublic void setBluetoothScoOn(boolean on) empty body sourcepublic void startBluetoothSco() empty body sourcepublic void stopBluetoothSco() empty body sourcepublic void playSoundEffect(int effectType) empty body sourcepublic void playSoundEffect(int effectType, float volume) empty body sourcepublic void loadSoundEffects() empty body sourcepublic void unloadSoundEffects() empty body sourcepublic int requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) deprecated sourcepublic int abandonAudioFocus(OnAudioFocusChangeListener l) sourcepublic int requestAudioFocus(AudioFocusRequest focusRequest) sourceNo other app plays here: focus is always granted, and never lost
public int abandonAudioFocusRequest(AudioFocusRequest focusRequest) sourcepublic boolean setCommunicationDevice(AudioDeviceInfo device) sourceThe speaker is no communication device: a call's route stays where it is
public AudioDeviceInfo getCommunicationDevice() sourcepublic void clearCommunicationDevice() empty body sourcepublic void registerMediaButtonEventReceiver(ComponentName eventReceiver) empty body deprecated sourcepublic void registerMediaButtonEventReceiver(PendingIntent eventReceiver) empty body deprecated sourcepublic void unregisterMediaButtonEventReceiver(ComponentName eventReceiver) empty body deprecated sourcepublic void unregisterMediaButtonEventReceiver(PendingIntent eventReceiver) empty body deprecated sourcepublic void registerRemoteControlClient(RemoteControlClient rcClient) empty body deprecated sourcepublic void unregisterRemoteControlClient(RemoteControlClient rcClient) empty body deprecated sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.