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

5
LINES

< > BotCompany Repo | #1032904 // javaSound_opusMono - PCM signed, mono, 16 bit, 48 kHz

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

Libraryless. Click here for Pure Java version (32L/1K).

import javax.sound.sampled.*;

static AudioFormat javaSound_opusMono() {
  ret new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 48000f, 16, 1, 2, 48000f, false);
}

Author comment

Began life as a copy of #1032903

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032904
Snippet name: javaSound_opusMono - PCM signed, mono, 16 bit, 48 kHz
Eternal ID of this version: #1032904/1
Text MD5: 956fb102a348256bf5922905622075eb
Transpilation MD5: 8a5d3581b8fdb5d679ec2e0458ed2d19
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-10 17:49:47
Source code size: 167 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 73 / 115
Referenced in: [show references]