Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1027081 // pulseAudio_defaultSource

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3803L/26K).

static int pulseAudio_defaultSource() {
  ret parseIntOrMinus1(regexpFirstGroupIC("\\* index: (\\d+)", backtick("pacmd list-sources")));
}

Author comment

Began life as a copy of #1027075

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: #1027081
Snippet name: pulseAudio_defaultSource
Eternal ID of this version: #1027081/6
Text MD5: c62f01fd3888f054a26fc724f8dafdaf
Transpilation MD5: 6c3b74114d9fbff437f6db6dfb6b3830
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:01:43
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 190 / 272
Version history: 5 change(s)
Referenced in: [show references]