| Index: webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
|
| diff --git a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
|
| index c2985764d4fada32693d668701fcb4ad0bed8f37..05e9cb50c5070328323de70930956a06ad406ba3 100644
|
| --- a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
|
| +++ b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm
|
| @@ -75,6 +75,24 @@ NSInteger const kRTCAudioSessionErrorConfiguration = -2;
|
| [[NSNotificationCenter defaultCenter] removeObserver:self];
|
| }
|
|
|
| +- (NSString *)description {
|
| + NSString *format =
|
| + @"RTCAudioSession: {\n"
|
| + " isActive: %d\n"
|
| + " sampleRate: %.2f\n"
|
| + " IOBufferDuration: %f\n"
|
| + " outputNumberOfChannels: %ld\n"
|
| + " inputNumberOfChannels: %ld\n"
|
| + " outputLatency: %f\n"
|
| + " inputLatency: %f\n"
|
| + "}";
|
| + NSString *description = [NSString stringWithFormat:format,
|
| + self.isActive, self.sampleRate, self.IOBufferDuration,
|
| + self.outputNumberOfChannels, self.inputNumberOfChannels,
|
| + self.outputLatency, self.inputLatency];
|
| + return description;
|
| +}
|
| +
|
| - (void)setIsActive:(BOOL)isActive {
|
| @synchronized(self) {
|
| _isActive = isActive;
|
|
|