Libraryless. Click here for Pure Java version (3901L/27K).
| 1 | svoid dm_pulseAudio_setDefaultSourceAndSwitchAllClients(int sourceIndex) {
 | 
| 2 | pulseAudio_setDefaultSource(sourceIndex); | 
| 3 |   for (O program : (Cl) dm_requireAndCall("#1020410/ListRecordingPrograms", 'list))
 | 
| 4 | if (!eqic(getString applicationName(program), "PulseAudio Volume Control")) | 
| 5 | pulseAudio_moveSourceOutput(getInt index(program), sourceIndex); | 
| 6 | } | 
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: | #1027083 | 
| Snippet name: | dm_pulseAudio_setDefaultSourceAndSwitchAllClients | 
| Eternal ID of this version: | #1027083/4 | 
| Text MD5: | a5fca2f90662397bfa7006faf5b76254 | 
| Transpilation MD5: | ce58abda865076b77b37a6d336c067e3 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-02-17 14:10:12 | 
| Source code size: | 360 bytes / 6 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 471 / 581 | 
| Version history: | 3 change(s) | 
| Referenced in: | [show references] |