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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 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 "native_client/src/shared/ppapi_proxy/plugin_ppb_audio.h" 5 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_audio.h"
6 6
7 #include <pthread.h> 7 #include <pthread.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <string.h> 9 #include <string.h>
10 #include <sys/errno.h> 10 #include <sys/errno.h>
11 #include <sys/mman.h> 11 #include <sys/mman.h>
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 GetAs<ppapi_proxy::PluginAudio>(audio_resource); 309 GetAs<ppapi_proxy::PluginAudio>(audio_resource);
310 if (NULL == audio.get()) { 310 if (NULL == audio.get()) {
311 // Ignore if no audio_resource -> audio_instance mapping exists, 311 // Ignore if no audio_resource -> audio_instance mapping exists,
312 // the app may have shutdown audio before StreamCreated() invoked. 312 // the app may have shutdown audio before StreamCreated() invoked.
313 rpc->result = NACL_SRPC_RESULT_OK; 313 rpc->result = NACL_SRPC_RESULT_OK;
314 return; 314 return;
315 } 315 }
316 audio->StreamCreated(sync_socket, shm, shm_size); 316 audio->StreamCreated(sync_socket, shm, shm_size);
317 rpc->result = NACL_SRPC_RESULT_OK; 317 rpc->result = NACL_SRPC_RESULT_OK;
318 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698