Libraryless. Click here for Pure Java version (1944L/13K).
1 | static L<File> deleteRecordingWAVsIfHasMP3(bool doIt) { |
2 | L<File> l = filter(f -> hasSameFileWithDifferentExtension(f, "mp3"), listFilesWithExtension(recordingsDir(), "wav")); |
3 | if (doIt) deleteFiles(l); |
4 | ret l; |
5 | } |
Began life as a copy of #1018653
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023290 |
Snippet name: | deleteRecordingWAVsIfHasMP3 |
Eternal ID of this version: | #1023290/1 |
Text MD5: | a3835c28a085e56eec80158280af3517 |
Transpilation MD5: | db5cda81150e555ecff4362ae007bd1e |
Author: | stefan |
Category: | javax / audio recognition |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-24 16:07:53 |
Source code size: | 218 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 304 / 408 |
Referenced in: | [show references] |