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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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
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 <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <limits> 10 #include <limits>
9 #include <string> 11 #include <string>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
13 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h"
14 #include "base/stl_util.h" 17 #include "base/stl_util.h"
15 #include "base/sys_byteorder.h" 18 #include "base/sys_byteorder.h"
16 #include "base/time/time.h" 19 #include "base/time/time.h"
17 #include "base/trace_event/trace_event.h" 20 #include "base/trace_event/trace_event.h"
21 #include "build/build_config.h"
18 22
19 #if !defined(OS_IOS) 23 #if !defined(OS_IOS)
20 #include "third_party/opus/src/include/opus.h" 24 #include "third_party/opus/src/include/opus.h"
21 #endif 25 #endif
22 26
23 #if defined(OS_MACOSX) 27 #if defined(OS_MACOSX)
24 #include <AudioToolbox/AudioToolbox.h> 28 #include <AudioToolbox/AudioToolbox.h>
25 #endif 29 #endif
26 30
27 namespace media { 31 namespace media {
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 cast_environment_->PostTask(CastEnvironment::AUDIO, 866 cast_environment_->PostTask(CastEnvironment::AUDIO,
863 FROM_HERE, 867 FROM_HERE,
864 base::Bind(&AudioEncoder::ImplBase::EncodeAudio, 868 base::Bind(&AudioEncoder::ImplBase::EncodeAudio,
865 impl_, 869 impl_,
866 base::Passed(&audio_bus), 870 base::Passed(&audio_bus),
867 recorded_time)); 871 recorded_time));
868 } 872 }
869 873
870 } // namespace cast 874 } // namespace cast
871 } // namespace media 875 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/receiver/video_decoder_unittest.cc ('k') | media/cast/sender/audio_encoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698