This repository was archived by the owner on Apr 18, 2024. It is now read-only.
Commit 4ad8edb
feat: LSDV-3028: Audio v3 dual channel render (#1185)
* Revert "Revert feat: DEV-4034: Rendering performance improvements for large-duration audio (#1138) (#1160)"
This reverts commit d84c38e.
* fix: LSDV-4532: Correct decoded audio data offset
* update the removal grace period for audio cached decoders
* only pause playback if it was playing in disconnect, remove redundant methods
* force buffer audio playback by playing then pausing, and ensure media has ability to playback through buffer
* adding comment about the duration offset start for decoding audio
* feat: DEV-3028: Audio v3 dual channel render
* fix: LSDV-4532: Audio sometimes goes missing during playback
* fix: LSDV-4532: Waveform sometimes blank when toggling visibility off then on
* fix: LSDV-4532: Sound sometimes delayed to playback
* when layer visibility changes we now fire renderAvailableChannels
* add crossorigin anonymous to audio element
* testing cors issue
* changing back to proper src
* fix multi channel split by using forked lib with a patch fix
* fix: LSDV-4532: Adding more tests fixing playbackRate setting
* default to splitchannel if possible
* update audio-file-decoder
* adding zoom test
* fix the number of chunks calculation to account for the larger sized samples returned from the decoder in splitchannel
* missing the calculation to augment chunk size when channel count is greater than one
* ensure a minwaveheight is adhered to, so that each channel wave is visible
* fix default waveHeight when non splitchannel
* fix initial render, and layerUpdated causing contentious renders that can sometimes cause unexpected results in layers
* fix initial render of single channel, original height waveform
* ensure the splitchannel worker is lazy to init, and can be destroyed when not in use
* fix partial waveform render optimization for large data point renders that occur across multiple channels
* change Audio tag param from minwaveheight to more aptly named waveheight
* removing console log
* adding ff to allow audio v3 multichannel support be default on
---------
Co-authored-by: Yousif Yassi <yousif@heartex.com>1 parent d108677 commit 4ad8edb
File tree
20 files changed
+457
-110
lines changed- e2e
- fragments
- tests/audio
- scripts
- src
- lib/AudioUltra
- Common/Worker
- Media
- Regions
- Visual
- tags/object/AudioUltra
- utils
20 files changed
+457
-110
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | | - | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
69 | 84 | | |
70 | 85 | | |
71 | 86 | | |
72 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
73 | 124 | | |
74 | 125 | | |
75 | 126 | | |
| |||
85 | 136 | | |
86 | 137 | | |
87 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
88 | 146 | | |
89 | 147 | | |
90 | 148 | | |
91 | 149 | | |
92 | 150 | | |
93 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
94 | 160 | | |
95 | 161 | | |
96 | 162 | | |
| |||
103 | 169 | | |
104 | 170 | | |
105 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
106 | 179 | | |
107 | 180 | | |
108 | 181 | | |
109 | 182 | | |
110 | 183 | | |
111 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
112 | 193 | | |
113 | 194 | | |
114 | 195 | | |
| |||
118 | 199 | | |
119 | 200 | | |
120 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
121 | 209 | | |
122 | 210 | | |
123 | 211 | | |
| |||
143 | 231 | | |
144 | 232 | | |
145 | 233 | | |
146 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
147 | 239 | | |
148 | 240 | | |
149 | 241 | | |
150 | | - | |
| 242 | + | |
151 | 243 | | |
152 | 244 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
| 76 | + | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
| |||
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
118 | 137 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
115 | 135 | | |
116 | | - | |
117 | | - | |
| 136 | + | |
| 137 | + | |
118 | 138 | | |
119 | 139 | | |
120 | 140 | | |
| |||
154 | 174 | | |
155 | 175 | | |
156 | 176 | | |
| 177 | + | |
| 178 | + | |
157 | 179 | | |
158 | 180 | | |
159 | | - | |
| 181 | + | |
160 | 182 | | |
161 | 183 | | |
162 | 184 | | |
| 185 | + | |
163 | 186 | | |
164 | | - | |
| 187 | + | |
165 | 188 | | |
166 | 189 | | |
167 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
168 | 193 | | |
169 | 194 | | |
170 | 195 | | |
| |||
183 | 208 | | |
184 | 209 | | |
185 | 210 | | |
186 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
187 | 228 | | |
188 | 229 | | |
189 | 230 | | |
| |||
202 | 243 | | |
203 | 244 | | |
204 | 245 | | |
| 246 | + | |
205 | 247 | | |
206 | 248 | | |
207 | 249 | | |
| |||
238 | 280 | | |
239 | 281 | | |
240 | 282 | | |
241 | | - | |
| 283 | + | |
242 | 284 | | |
243 | 285 | | |
244 | 286 | | |
| |||
0 commit comments