@qvac/decoder-audio 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -0
- package/package.json +4 -2
- package/prebuilds/android-arm/qvac__decoder-audio.bare +0 -0
- package/prebuilds/android-arm64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/android-ia32/qvac__decoder-audio.bare +0 -0
- package/prebuilds/android-x64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__decoder-audio.bare.exports +1 -1
- package/prebuilds/darwin-x64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/darwin-x64/qvac__decoder-audio.bare.exports +1 -1
- package/prebuilds/ios-arm64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/ios-arm64/qvac__decoder-audio.bare.exports +1 -1
- package/prebuilds/ios-arm64-simulator/qvac__decoder-audio.bare +0 -0
- package/prebuilds/ios-arm64-simulator/qvac__decoder-audio.bare.exports +1 -1
- package/prebuilds/ios-x64-simulator/qvac__decoder-audio.bare +0 -0
- package/prebuilds/ios-x64-simulator/qvac__decoder-audio.bare.exports +1 -1
- package/prebuilds/linux-x64/qvac__decoder-audio.bare +0 -0
- package/prebuilds/win32-x64/qvac__decoder-audio.bare +0 -0
package/index.js
CHANGED
|
@@ -93,6 +93,14 @@ class GSTDecoder extends BaseInference {
|
|
|
93
93
|
return status
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
async unload () {
|
|
97
|
+
if (this.addon) {
|
|
98
|
+
this.logger.info('Destroying GSTDecoder addon')
|
|
99
|
+
await this.addon.destroy()
|
|
100
|
+
this.addon = null
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
96
104
|
createAddon (config) {
|
|
97
105
|
this.logger.info('Creating new GSTDecoderInterface instance')
|
|
98
106
|
return new GSTDecoderInterface(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/decoder-audio",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Tether",
|
|
@@ -33,7 +33,9 @@
|
|
|
33
33
|
],
|
|
34
34
|
"exports": {
|
|
35
35
|
"./package": "./package.json",
|
|
36
|
-
".": "./index.js"
|
|
36
|
+
".": "./index.js",
|
|
37
|
+
"./constants": "./constants.js",
|
|
38
|
+
"./constants.js": "./constants.js"
|
|
37
39
|
},
|
|
38
40
|
"devDependencies": {
|
|
39
41
|
"@types/node": "^22.14.1",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|