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

5
LINES

< > BotCompany Repo | #1032903 // javaSound_opusStereo - PCM signed, stereo, 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_opusStereo() {
  ret new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 48000f, 16, 2, 4, 48000f, false);
}

Author comment

Began life as a copy of #1009289

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032903
Snippet name: javaSound_opusStereo - PCM signed, stereo, 16 bit, 48 kHz
Eternal ID of this version: #1032903/5
Text MD5: 0b69fe983bec38660c6375cc6bbe0f50
Transpilation MD5: 448a7c6940b87cea1f3ca646e582f7d7
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:10
Source code size: 169 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 79 / 110
Version history: 4 change(s)
Referenced in: [show references]