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

Side by Side Diff: media/cast/sender/audio_encoder.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/cast/receiver/audio_decoder.cc ('k') | media/cast/sender/external_video_encoder.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/cast/sender/audio_encoder.h" 5 #include "media/cast/sender/audio_encoder.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <string> 9 #include <string>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/sys_byteorder.h" 15 #include "base/sys_byteorder.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "media/base/audio_bus.h"
18 #include "media/cast/cast_defines.h" 17 #include "media/cast/cast_defines.h"
19 #include "media/cast/cast_environment.h"
20 18
21 #if !defined(OS_IOS) 19 #if !defined(OS_IOS)
22 #include "third_party/opus/src/include/opus.h" 20 #include "third_party/opus/src/include/opus.h"
23 #endif 21 #endif
24 22
25 #if defined(OS_MACOSX) 23 #if defined(OS_MACOSX)
26 #include <AudioToolbox/AudioToolbox.h> 24 #include <AudioToolbox/AudioToolbox.h>
27 #endif 25 #endif
28 26
29 namespace media { 27 namespace media {
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 cast_environment_->PostTask(CastEnvironment::AUDIO, 820 cast_environment_->PostTask(CastEnvironment::AUDIO,
823 FROM_HERE, 821 FROM_HERE,
824 base::Bind(&AudioEncoder::ImplBase::EncodeAudio, 822 base::Bind(&AudioEncoder::ImplBase::EncodeAudio,
825 impl_, 823 impl_,
826 base::Passed(&audio_bus), 824 base::Passed(&audio_bus),
827 recorded_time)); 825 recorded_time));
828 } 826 }
829 827
830 } // namespace cast 828 } // namespace cast
831 } // namespace media 829 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/receiver/audio_decoder.cc ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698