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

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

Issue 868753004: Mechanical rename of tracing includes for /media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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
« no previous file with comments | « media/audio/audio_output_device.cc ('k') | media/audio/win/audio_low_latency_output_win.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/audio_auhal_mac.h" 5 #include "media/audio/mac/audio_auhal_mac.h"
6 6
7 #include <CoreServices/CoreServices.h> 7 #include <CoreServices/CoreServices.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/debug/trace_event.h"
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/mac/mac_logging.h" 13 #include "base/mac/mac_logging.h"
15 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "base/trace_event/trace_event.h"
16 #include "media/audio/mac/audio_manager_mac.h" 16 #include "media/audio/mac/audio_manager_mac.h"
17 #include "media/base/audio_pull_fifo.h" 17 #include "media/base/audio_pull_fifo.h"
18 18
19 namespace media { 19 namespace media {
20 20
21 static void WrapBufferList(AudioBufferList* buffer_list, 21 static void WrapBufferList(AudioBufferList* buffer_list,
22 AudioBus* bus, 22 AudioBus* bus,
23 int frames) { 23 int frames) {
24 DCHECK(buffer_list); 24 DCHECK(buffer_list);
25 DCHECK(bus); 25 DCHECK(bus);
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 result = AudioUnitInitialize(audio_unit_); 435 result = AudioUnitInitialize(audio_unit_);
436 if (result != noErr) { 436 if (result != noErr) {
437 OSSTATUS_DLOG(ERROR, result) << "AudioUnitInitialize() failed."; 437 OSSTATUS_DLOG(ERROR, result) << "AudioUnitInitialize() failed.";
438 return false; 438 return false;
439 } 439 }
440 440
441 return true; 441 return true;
442 } 442 }
443 443
444 } // namespace media 444 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/audio_output_device.cc ('k') | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698