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

Side by Side Diff: runtime/embedders/android/sound_service.cc

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 7 years, 11 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 | « runtime/embedders/android/sound_service.h ('k') | runtime/embedders/android/timer.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 Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "jni/sound_service.h" 5 #include "embedders/android/sound_service.h"
6 6
7 #include "jni/log.h" 7 #include "embedders/android/log.h"
8 #include "jni/resource.h" 8 #include "embedders/android/resource.h"
9 9
10 SoundService::SoundService(android_app* application) 10 SoundService::SoundService(android_app* application)
11 : application_(application), 11 : application_(application),
12 engine_(NULL), 12 engine_(NULL),
13 engine_if_(NULL), 13 engine_if_(NULL),
14 output_mix_(NULL), 14 output_mix_(NULL),
15 background_player_(NULL), 15 background_player_(NULL),
16 background_player_if_(NULL), 16 background_player_if_(NULL),
17 background_player_seek_if_(NULL) { 17 background_player_seek_if_(NULL) {
18 } 18 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 (*background_player_if_)->SetPlayState(background_player_if_, 148 (*background_player_if_)->SetPlayState(background_player_if_,
149 SL_PLAYSTATE_PAUSED); 149 SL_PLAYSTATE_PAUSED);
150 150
151 (*background_player_)->Destroy(background_player_); 151 (*background_player_)->Destroy(background_player_);
152 background_player_ = NULL; 152 background_player_ = NULL;
153 background_player_if_ = NULL; 153 background_player_if_ = NULL;
154 background_player_seek_if_ = NULL; 154 background_player_seek_if_ = NULL;
155 } 155 }
156 } 156 }
157 } 157 }
OLDNEW
« no previous file with comments | « runtime/embedders/android/sound_service.h ('k') | runtime/embedders/android/timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698