Commit 4724964
committed
No more intermediate decompression and metaflac passes
flac supports reading in a FLAC file directly for source input, and
writes out a new file with the desired compression file based on it.
Use this to speed up operation and make it a little more reliable,
copying all metadata and ancillary streams (such as artwork) without
worry about leaving them out.
Additionally, the `--verify` flag is now used too, giving extra
assurance that the output FLAC file is correct. I have strong doubts
this is actually necessary; I think decoding errors will be caught and
should cover enough, but this has been requested twice now and the
performance impact is offset by the overall improvement in this
commit.
Thanks @Entze and @wlhlm for the suggestions
Closes: #5, #61 parent aead6a8 commit 4724964
1 file changed
+8
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 68 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
78 | 73 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
82 | 78 | | |
83 | 79 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 80 | | |
95 | 81 | | |
96 | 82 | | |
| |||
99 | 85 | | |
100 | 86 | | |
101 | 87 | | |
102 | | - | |
103 | | - | |
104 | 88 | | |
105 | 89 | | |
106 | 90 | | |
| |||
0 commit comments