Libraryless. Click here for Pure Java version (28L/1K).
1 | static int msToSamples_int(double ms, double sampleRate) { |
2 | ret (int) (ms/1000.0*sampleRate); |
3 | } |
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: | #1026890 |
Snippet name: | msToSamples - milliseconds to sample count |
Eternal ID of this version: | #1026890/2 |
Text MD5: | 3e264e80440b22d713e70a47a7907c81 |
Transpilation MD5: | 04f3c045a803dbb47dfe7f5421ba0c55 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-02 14:37:19 |
Source code size: | 98 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 232 / 311 |
Version history: | 1 change(s) |
Referenced in: | [show references] |