From d13842a16ccaa2c2cd03c200249779e6549398d6 Mon Sep 17 00:00:00 2001 From: "henrika@chromium.org" Date: Fri, 29 Jun 2012 08:59:04 +0000 Subject: [PATCH] This CL adds a new factory method called AudioDeviceFactory. It is a template based factory which allows the user to create a media::AudioRenderSink implementation (AudioDevice) using a factory which is created once and then distributed to all clients. Advantages: + We can mock (or try alternative implementations of) AudioDevice for all clients at one centralized place. + The factory now owns the audio message filter, hence the restriction that each client must be created on the main renderer thread should now be removed. BUG=none TEST=content_unittests, misc. WebRTC demos, WebAudio demos and