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

Side by Side Diff: media/audio/linux/alsa_input.cc

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « media/audio/linux/alsa_input.h ('k') | media/audio/linux/alsa_output.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/linux/alsa_input.h" 5 #include "media/audio/linux/alsa_input.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/time.h" 11 #include "base/time/time.h"
12 #include "media/audio/audio_manager.h" 12 #include "media/audio/audio_manager.h"
13 #include "media/audio/linux/alsa_output.h" 13 #include "media/audio/linux/alsa_output.h"
14 #include "media/audio/linux/alsa_util.h" 14 #include "media/audio/linux/alsa_util.h"
15 #include "media/audio/linux/alsa_wrapper.h" 15 #include "media/audio/linux/alsa_wrapper.h"
16 #include "media/audio/linux/audio_manager_linux.h" 16 #include "media/audio/linux/audio_manager_linux.h"
17 17
18 namespace media { 18 namespace media {
19 19
20 static const int kNumPacketsInRingBuffer = 3; 20 static const int kNumPacketsInRingBuffer = 3;
21 21
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 return static_cast<double>(current_volume); 332 return static_cast<double>(current_volume);
333 } 333 }
334 334
335 void AlsaPcmInputStream::HandleError(const char* method, int error) { 335 void AlsaPcmInputStream::HandleError(const char* method, int error) {
336 LOG(WARNING) << method << ": " << wrapper_->StrError(error); 336 LOG(WARNING) << method << ": " << wrapper_->StrError(error);
337 callback_->OnError(this); 337 callback_->OnError(this);
338 } 338 }
339 339
340 } // namespace media 340 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/linux/alsa_input.h ('k') | media/audio/linux/alsa_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698