Transpiled version (2638L) is out of date.
1 | svoid dm_lowerVoiceVolume_speak(O... _) { |
2 | Float vol = dm_getVoiceOutputVolume(); |
3 | if (vol == null) ret; |
4 | optPar float factor = 0.80f; |
5 | print("Volume: " + vol + ", factor: " + factor); |
6 | dm_setVoiceOutputVolume(vol *= factor); |
7 | dm_sayInEnglish("New volume: " + toIntPercent(vol) + "%"); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026707 |
Snippet name: | dm_lowerVoiceVolume_speak |
Eternal ID of this version: | #1026707/4 |
Text MD5: | b82e7f8abd8c5978aa8ae6808ceee451 |
Author: | stefan |
Category: | javax / dynamic modules |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-19 14:17:25 |
Source code size: | 300 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 187 / 273 |
Version history: | 3 change(s) |
Referenced in: | [show references] |