summaryrefslogtreecommitdiff
path: root/modules/audio_device/audio_device_utility.h
diff options
context:
space:
mode:
authortkchin@webrtc.org <tkchin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-15 20:20:47 +0000
committertkchin@webrtc.org <tkchin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-15 20:20:47 +0000
commita09832591aa31367ffbc260490213f1b6e96e2ce (patch)
tree752bf81419c617354f3b47d11c8993e9fc8a3c8c /modules/audio_device/audio_device_utility.h
parentacb7c52bc6be002949de4149562cd53bd928fc95 (diff)
downloadwebrtc-a09832591aa31367ffbc260490213f1b6e96e2ce.tar.gz
After an audio interruption the audio unit no longer invokes its render callback, which results in a loss of audio. Restarting the audio unit post interruption fixes the issue.
CL also replaces deprecated AudioSession calls with equivalent AVAudioSession ones. BUG=3487 R=glaznev@webrtc.org, noahric@chromium.org Review URL: https://webrtc-codereview.appspot.com/21769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6697 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'modules/audio_device/audio_device_utility.h')
-rw-r--r--modules/audio_device/audio_device_utility.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/audio_device/audio_device_utility.h b/modules/audio_device/audio_device_utility.h
index eb3e623e..ebe06d1f 100644
--- a/modules/audio_device/audio_device_utility.h
+++ b/modules/audio_device/audio_device_utility.h
@@ -18,15 +18,15 @@ namespace webrtc
class AudioDeviceUtility
{
-public:
- static uint32_t GetTimeInMS();
- static void WaitForKey();
- static bool StringCompare(const char* str1,
- const char* str2,
- const uint32_t length);
- virtual int32_t Init() = 0;
+ public:
+ static uint32_t GetTimeInMS();
+ static void WaitForKey();
+ static bool StringCompare(const char* str1,
+ const char* str2,
+ const uint32_t length);
+ virtual int32_t Init() = 0;
- virtual ~AudioDeviceUtility() {}
+ virtual ~AudioDeviceUtility() {}
};
} // namespace webrtc