Commit 89f94bd
committed
Added Metadata writing, metadat conversion to c++, and format detection performance tests;
Changed AudioFile.Format.Detector to an enum;
Swapped nullptr to kCFAllocatorDefault in CFDataCreate calls;
Added a convenience static method to create AudioMetadata::Picture in swift from CFData which fixes previous performance inefficiency;
Recompiled xcframeworks
Fixes #21 parent 945daf1 commit 89f94bd
File tree
27 files changed
+6007
-4262
lines changed- XCFrameworkPackage
- CxxTagLibBridge.xcframework
- ios-arm64_x86_64-simulator/CxxTagLibBridge.framework
- ios-arm64/CxxTagLibBridge.framework
- Sources
- CxxTagLibBridge
- AudioMetadata/Picture
- include/CxxTagLibBridge
- SwiftTagLib
- Utility
- SwiftTagLib.xcframework
- ios-arm64_x86_64-simulator/SwiftTagLib.framework
- Headers
- Modules/SwiftTagLib.swiftmodule
- _CodeSignature
- ios-arm64/SwiftTagLib.framework
- Headers
- Modules/SwiftTagLib.swiftmodule
- Tests/SwiftTagLibTests
- taglib.xcframework
27 files changed
+6007
-4262
lines changedBinary file not shown.
XCFrameworkPackage/Sources/CxxTagLibBridge/AudioMetadata/Picture/AudioMetadata.Picture+ImageIO.cpp
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
6 | 23 | | |
7 | 24 | | |
8 | | - | |
| 25 | + | |
9 | 26 | | |
10 | 27 | | |
11 | 28 | | |
| |||
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
33 | | - | |
| 50 | + | |
34 | 51 | | |
35 | 52 | | |
36 | 53 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 28 | + | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
36 | | - | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments