Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1638)

Side by Side Diff: media/audio/mac/aggregate_device_manager.cc

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/config/gpu_info_collector_mac.mm ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/audio/mac/aggregate_device_manager.h" 5 #include "media/audio/mac/aggregate_device_manager.h"
6 6
7 #include <CoreAudio/AudioHardware.h> 7 #include <CoreAudio/AudioHardware.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/mac/mac_logging.h" 10 #include "base/mac/mac_logging.h"
11 #include "base/mac/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
12 #include "media/audio/audio_parameters.h" 12 #include "media/audio/audio_parameters.h"
13 #include "media/audio/mac/audio_manager_mac.h" 13 #include "media/audio/mac/audio_manager_mac.h"
14 14
15 using base::mac::ScopedCFTypeRef; 15 using base::ScopedCFTypeRef;
16 16
17 namespace media { 17 namespace media {
18 18
19 AggregateDeviceManager::AggregateDeviceManager() 19 AggregateDeviceManager::AggregateDeviceManager()
20 : plugin_id_(kAudioObjectUnknown), 20 : plugin_id_(kAudioObjectUnknown),
21 input_device_(kAudioDeviceUnknown), 21 input_device_(kAudioDeviceUnknown),
22 output_device_(kAudioDeviceUnknown), 22 output_device_(kAudioDeviceUnknown),
23 aggregate_device_(kAudioObjectUnknown) { 23 aggregate_device_(kAudioObjectUnknown) {
24 } 24 }
25 25
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 &aggregate_device_); 362 &aggregate_device_);
363 if (result != noErr) { 363 if (result != noErr) {
364 DLOG(ERROR) << "Error destroying aggregate audio device!"; 364 DLOG(ERROR) << "Error destroying aggregate audio device!";
365 return; 365 return;
366 } 366 }
367 367
368 aggregate_device_ = kAudioObjectUnknown; 368 aggregate_device_ = kAudioObjectUnknown;
369 } 369 }
370 370
371 } // namespace media 371 } // namespace media
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector_mac.mm ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698