Use backticks not vertical bars to denote variables in comments for /examples
Bug: webrtc:12338 Change-Id: I753a476d1574d8dd50f1b6d4bfc2beb7f6f1f913 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226947 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34562}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
d7ac581045
commit
36de9dfb6e
@ -77,7 +77,7 @@ public class AppRTCAudioManager {
|
||||
// This device is changed automatically using a certain scheme where e.g.
|
||||
// a wired headset "wins" over speaker phone. It is also possible for a
|
||||
// user to explicitly select a device (and overrid any predefined scheme).
|
||||
// See |userSelectedAudioDevice| for details.
|
||||
// See `userSelectedAudioDevice` for details.
|
||||
private AudioDevice selectedAudioDevice;
|
||||
|
||||
// Contains the user-selected audio device which overrides the predefined
|
||||
@ -216,7 +216,7 @@ public class AppRTCAudioManager {
|
||||
// Create an AudioManager.OnAudioFocusChangeListener instance.
|
||||
audioFocusChangeListener = new AudioManager.OnAudioFocusChangeListener() {
|
||||
// Called on the listener to notify if the audio focus for this listener has been changed.
|
||||
// The |focusChange| value indicates whether the focus was gained, whether the focus was lost,
|
||||
// The `focusChange` value indicates whether the focus was gained, whether the focus was lost,
|
||||
// and whether that loss is transient, or whether the new focus holder will hold it for an
|
||||
// unknown amount of time.
|
||||
// TODO(henrika): possibly extend support of handling audio-focus changes. Only contains
|
||||
@ -573,7 +573,7 @@ public class AppRTCAudioManager {
|
||||
} else {
|
||||
// No wired headset and no Bluetooth, hence the audio-device list can contain speaker
|
||||
// phone (on a tablet), or speaker phone and earpiece (on mobile phone).
|
||||
// |defaultAudioDevice| contains either AudioDevice.SPEAKER_PHONE or AudioDevice.EARPIECE
|
||||
// `defaultAudioDevice` contains either AudioDevice.SPEAKER_PHONE or AudioDevice.EARPIECE
|
||||
// depending on the user's selection.
|
||||
newAudioDevice = defaultAudioDevice;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user