DescriptionChanged the interface AudioMixer::RemoveSource to have a void return type.
In the AudioMixerImpl implementation, removing a source never fails
and the return value is always true (see audio_mixer/audio_mixer_impl.cc).
A return value of |false| signaled that removing a source failed for
some reason. We have come to the conclusion that
* we don't know how to handle a return value of |false|
* we can't think of why an alternative implementation would need to
signal failure when removing a stream.
To avoid having a status code that is never read, never acted upon and
probably never set to anything but |true|, we change ::RemoveSource to
not have a return value.
NOTRY=True
BUG=webrtc:6346
Committed: https://crrev.com/76b3049e7c0cb6ec1c7bb741a83f71a5e791fbaf
Cr-Commit-Position: refs/heads/master@{#15150}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Updated doc comment for Add/Remove Source. #
Messages
Total messages: 11 (6 generated)
|