1 | import javax.sound.sampled.*; |
2 | |
3 | static AudioFormat javaSound_pcmSignedLittleEndian(float sampleRate, int channels) { |
4 | ret new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, sampleRate, 16, channels, channels*2, 44100f, false); |
5 | } |
Began life as a copy of #1019663
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: | #1027089 |
Snippet name: | javaSound_pcmSignedLittleEndian |
Eternal ID of this version: | #1027089/3 |
Text MD5: | f857bdbbc0a783e8639730445e08890e |
Author: | stefan |
Category: | javax / sound |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-17 15:59:53 |
Source code size: | 230 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 241 |
Version history: | 2 change(s) |
Referenced in: | [show references] |