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

Side by Side Diff: media/cast/receiver/audio_decoder.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/net/udp_transport.cc ('k') | media/cast/sender/audio_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/receiver/audio_decoder.h" 5 #include "media/cast/receiver/audio_decoder.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ref_counted.h"
12 #include "base/sys_byteorder.h" 11 #include "base/sys_byteorder.h"
13 #include "media/cast/cast_defines.h" 12 #include "media/cast/cast_defines.h"
14 #include "third_party/opus/src/include/opus.h" 13 #include "third_party/opus/src/include/opus.h"
15 14
16 namespace media { 15 namespace media {
17 namespace cast { 16 namespace cast {
18 17
19 // Base class that handles the common problem of detecting dropped frames, and 18 // Base class that handles the common problem of detecting dropped frames, and
20 // then invoking the Decode() method implemented by the subclasses to convert 19 // then invoking the Decode() method implemented by the subclasses to convert
21 // the encoded payload data into usable audio data. 20 // the encoded payload data into usable audio data.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 cast_environment_->PostTask(CastEnvironment::AUDIO, 235 cast_environment_->PostTask(CastEnvironment::AUDIO,
237 FROM_HERE, 236 FROM_HERE,
238 base::Bind(&AudioDecoder::ImplBase::DecodeFrame, 237 base::Bind(&AudioDecoder::ImplBase::DecodeFrame,
239 impl_, 238 impl_,
240 base::Passed(&encoded_frame), 239 base::Passed(&encoded_frame),
241 callback)); 240 callback));
242 } 241 }
243 242
244 } // namespace cast 243 } // namespace cast
245 } // namespace media 244 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/udp_transport.cc ('k') | media/cast/sender/audio_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698