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

Side by Side Diff: webkit/glue/plugins/pepper_audio.cc

Issue 4164015: Switch to the new PPAPI repository. This removes the DEPS entry that refers t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | « webkit/glue/plugins/pepper_audio.h ('k') | webkit/glue/plugins/pepper_buffer.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/glue/plugins/pepper_audio.h" 5 #include "webkit/glue/plugins/pepper_audio.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/ppapi/c/dev/ppb_audio_dev.h" 8 #include "ppapi/c/dev/ppb_audio_dev.h"
9 #include "third_party/ppapi/c/dev/ppb_audio_trusted_dev.h" 9 #include "ppapi/c/dev/ppb_audio_trusted_dev.h"
10 10
11 namespace pepper { 11 namespace pepper {
12 12
13 namespace { 13 namespace {
14 14
15 // PPB_AudioConfig ------------------------------------------------------------- 15 // PPB_AudioConfig -------------------------------------------------------------
16 16
17 uint32_t RecommendSampleFrameCount(uint32_t requested_sample_frame_count); 17 uint32_t RecommendSampleFrameCount(uint32_t requested_sample_frame_count);
18 18
19 PP_Resource CreateStereo16bit(PP_Module module_id, 19 PP_Resource CreateStereo16bit(PP_Module module_id,
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 pending_data >= 0) { 270 pending_data >= 0) {
271 // Exit the thread on pause. 271 // Exit the thread on pause.
272 if (pending_data < 0) 272 if (pending_data < 0)
273 return; 273 return;
274 callback_(buffer, buffer_size_in_bytes, user_data_); 274 callback_(buffer, buffer_size_in_bytes, user_data_);
275 } 275 }
276 } 276 }
277 277
278 } // namespace pepper 278 } // namespace pepper
279 279
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_audio.h ('k') | webkit/glue/plugins/pepper_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698