Libraryless. Click here for Pure Java version (28L/1K).
static int msToSamples_int(double ms, double sampleRate) { ret (int) (ms/1000.0*sampleRate); }
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: | 233 / 313 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026950 - secondsToSamples_int - seconds to sample count |