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

Side by Side Diff: native_client_sdk/src/doc/devguide/coding/audio.rst

Issue 2875303003: Add migration to WebAssembly information to PNaCl / NaCl docs. (Closed)
Patch Set: fix Created 3 years, 6 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
OLDNEW
1 .. _devguide-coding-audio: 1 .. _devguide-coding-audio:
2 2
3 .. include:: /migration/deprecation.inc
4
3 ##### 5 #####
4 Audio 6 Audio
5 ##### 7 #####
6 8
7 .. contents:: 9 .. contents::
8 :local: 10 :local:
9 :backlinks: none 11 :backlinks: none
10 :depth: 2 12 :depth: 2
11 13
12 This section describes how to use the Pepper audio API to play an audio 14 This section describes how to use the Pepper audio API to play an audio
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 } 379 }
378 std::string message = var_message.AsString(); 380 std::string message = var_message.AsString();
379 if (message == kPlaySoundId) { 381 if (message == kPlaySoundId) {
380 audio_.StartPlayback(); 382 audio_.StartPlayback();
381 } else if (message == kStopSoundId) { 383 } else if (message == kStopSoundId) {
382 audio_.StopPlayback(); 384 audio_.StopPlayback();
383 } else if (...) { 385 } else if (...) {
384 ... 386 ...
385 } 387 }
386 } 388 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698