OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |