2bc63a1dd3188402f4da1cdb6ed24fc058819304 |
|
12-Jan-2016 |
andrew <andrew@webrtc.org> |
clang-format audio_device/mac. NOTRY=true Review URL: https://codereview.webrtc.org/1570063003 Cr-Commit-Position: refs/heads/master@{#11212}
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
ec80f03b3cd919614d82ba70837de87718e1c4a7 |
|
08-Jan-2016 |
andrew <andrew@webrtc.org> |
Check the mic volume only periodically on Mac. Ask the OS for the mic volume every 1 second rather than with every 10 ms chunk. The previous behavior was consuming ~2% of the CPU load of a voice engine call, and is now negligible. This is consistent with the webrtc Windows Core Audio implementation, as well as the Chromium Mac implementation: https://code.google.com/p/chromium/codesearch#chromium/src/media/audio/agc_audio_stream.h TEST=voe_cmd_test with AGC continues to work well on Mac. Review URL: https://codereview.webrtc.org/1564223002 Cr-Commit-Position: refs/heads/master@{#11182}
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
8c38e8b9b96d72317d6ce94c1442113b4e385dcb |
|
26-Nov-2015 |
Peter Boström <pbos@webrtc.org> |
Clean up PlatformThread. * Move PlatformThread to rtc::. * Remove ::CreateThread factory method. * Make non-scoped_ptr from a lot of invocations. * Make Start/Stop void. * Remove rtc::Thread priorities, which were unused and would collide. * Add ::IsRunning() to PlatformThread. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1476453002 . Cr-Commit-Position: refs/heads/master@{#10812}
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
12411ef40e08c5e28ccde54ab3418c96676ffcbc |
|
23-Nov-2015 |
pbos <pbos@webrtc.org> |
Move ThreadWrapper to ProcessThread in base. Also removes all virtual methods. Permits using a thread from rtc_base_approved (namely event tracing). BUG=webrtc:5158 R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1469013002 Cr-Commit-Position: refs/heads/master@{#10760}
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
98f53510b222f71fdd8b799b2f33737ceeb28c61 |
|
28-Oct-2015 |
Henrik Kjellander <kjellander@webrtc.org> |
system_wrappers: rename interface -> include BUG=webrtc:5095 R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1413333002 . Cr-Commit-Position: refs/heads/master@{#10438}
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
346a64b9b564f28b54a2beecb93cb2048f2ad3de |
|
21-Mar-2015 |
braveyao@webrtc.org <braveyao@webrtc.org> |
Mac would force bluetooth playout working with 8kHz/1ch if capturing/rendering shares the same device, e.g. changing from 44.1kHz/2ch as default. So in the HandleStreamFormatChange() callback, we need to re-initiate the playout as same as what we do in InitPlayout(). Here we merely copy those codes out from InitPlayout() into a new SetDesiredPlayoutFormat() function for the invoking from the two places. Previously, HandleStreamFormatChange only re-creates the AudioConverter, which is not enough. We also need to reset the buffer size and refresh the latency. BUG=4240 TEST=Manual Test R=andrew@webrtc.org, henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/36029004 Cr-Commit-Position: refs/heads/master@{#8815} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8815 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
86639737b83d8877abc4810100e30a8af863189d |
|
13-Mar-2015 |
pbos@webrtc.org <pbos@webrtc.org> |
Remove thread id from ThreadWrapper::Start(). Removes ThreadPosix::InitParams and a corresponding wait for an event. This unblocks ThreadPosix::Start which had to wait for thread scheduling for an event to trigger on the spawned thread, giving faster Start() calls. BUG=4413 R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/43699004 Cr-Commit-Position: refs/heads/master@{#8709} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8709 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
5c72922c75990f1cf0682408487fbf56078902ee |
|
11-Mar-2015 |
braveyao@webrtc.org <braveyao@webrtc.org> |
Remove unused member functions in audio_device_mac.h, which would cause compiling warning with clang -Wthread-safety-anaysis. Reported and fixed by mozilla. Imported here(We don't have any problem since we suppressed those warning in r7961). BUG=4362 TEST=AutoTest R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41209004 Cr-Commit-Position: refs/heads/master@{#8681} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8681 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
d43bdf50c591534160daf1fc69619fe4696cf5f9 |
|
03-Feb-2015 |
tommi@webrtc.org <tommi@webrtc.org> |
Rewrite ThreadPosix. This is the same change as already made for Windows: https://webrtc-codereview.appspot.com/37069004/ * Remove "dead" and "alive" variables. * Remove critical section * Remove implementation of SetNotAlive() * Always set thread name * Add thread checks for correct usage. * Changed AudioDeviceMac to create/start/stop/delete thread objects for playout and recording, inside the respective start and stop method. The reason for this is because the AudioDeviceMac instance is currently being created on one thread and the above Start/Stop methods are being called on a different thread. So, my change makes creation, start/stop, deletion of the thread objects always happen on the same thread. I'm making CurrentThreadId() in rtc_base_approved more visible so that it can be used from there instead of inside webrtc. Down the line we will have more thread concepts in rtc_base_approved, so I put a TODO for myself to move this functionality to there once we do. R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40599004 Cr-Commit-Position: refs/heads/master@{#8235} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8235 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
556caffb3631a67f2badf2ac08f87fe06850f8c3 |
|
19-Dec-2014 |
kjellander@webrtc.org <kjellander@webrtc.org> |
GN: Fix build for Mac BUG=4105 R=henrika@webrtc.org, pbos@webrtc.org, perkj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29269004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7961 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
c7c432aa9b8c9f9ba6d41554917784a27b21426a |
|
02-Apr-2014 |
andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Remove AudioDevice::{Microphone,Speaker}IsAvailable. This was only used for logging, except on Mac, where the methods are now private. BUG=3132 R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10959004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5831 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
cc9238e385bca5bd1ebe95d38bb49798cd9d567a |
|
15-Aug-2013 |
niklas.enbom@webrtc.org <niklas.enbom@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Fix OSX keydown detection. I noticed that the OSX implementation differs from Linux and Windows, and it will trigger continuously for a key that is pressed down. It would totally make sense to change this to a callback driven model, but that's a bigger change. I need to test this before committing... R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1996004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4550 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
811269df40fd8cd036b68cfe39bc04cacac0a698 |
|
11-Jul-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Include files from webrtc/.. paths in audio_device/. BUG=1662 R=xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1785005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4330 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
d900e8bea84c474696bf0219aed1353ce65ffd8e |
|
03-Jul-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Proper spacing for end-of-namespace comments. BUG= R=mflodman@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1760006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
569fdef7321cca192d2ed501ee857d8e2df4536a |
|
08-Jun-2013 |
andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Revert some variables to uint32_t to fix compile errors on Mac gcc. TBR=xians Review URL: https://webrtc-codereview.appspot.com/1633004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4199 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
6f69eb78dd316ab4c32b2f8b3f4ff3cd9016c613 |
|
07-Jun-2013 |
andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Allow audio devices with up to 64 channels on Mac. Does not increase memory requirements. Adds an additional check to ensure configurations requiring more memory per IO block than the input ring buffer contains are rejected. BUG=1904 TESTED=Using Soundflower (64 channels) at 48 kHz as input gives good quality. Selecting a higher sample rate (96 kHz), which would otherwise give choppy audio, instead results in an error. R=henrika@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1628004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4198 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
3be565b502850f073fbfba2137a3d798464634b9 |
|
07-May-2013 |
niklas.enbom@webrtc.org <niklas.enbom@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Refactoring for typing detection R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1370004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3976 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
2550988baaf3a50a2eb1a595c26bc7912ad99b30 |
|
09-Apr-2013 |
pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
WebRtc_Word32 -> int32_t in audio_device/ BUG=314 Review URL: https://webrtc-codereview.appspot.com/1302006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3793 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|
14b43beb7ce4440b30dcea31196de5b4a529cb6b |
|
22-Oct-2012 |
andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> |
Move src/ -> webrtc/ TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/915006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
/external/webrtc/webrtc/modules/audio_device/mac/audio_device_mac.h
|