@quenty/soundplayer 7.31.0-canary.8203ae4.0 → 7.31.0
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/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [7.31.0
|
|
6
|
+
# [7.31.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/soundplayer@7.30.0...@quenty/soundplayer@7.31.0) (2026-01-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Push sound order priority ([45a29f2](https://github.com/Quenty/NevermoreEngine/commit/45a29f21a00d72d7971299695e28129d5b9d0cfb))
|
|
7
12
|
|
|
8
13
|
|
|
9
14
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/soundplayer",
|
|
3
|
-
"version": "7.31.0
|
|
3
|
+
"version": "7.31.0",
|
|
4
4
|
"description": "Sound playback helper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -30,28 +30,28 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@quenty/adorneeutils": "3.3.5",
|
|
32
32
|
"@quenty/baseobject": "10.9.3",
|
|
33
|
-
"@quenty/blend": "12.28.0
|
|
34
|
-
"@quenty/brio": "14.24.0
|
|
35
|
-
"@quenty/instanceutils": "13.24.0
|
|
33
|
+
"@quenty/blend": "12.28.0",
|
|
34
|
+
"@quenty/brio": "14.24.0",
|
|
35
|
+
"@quenty/instanceutils": "13.24.0",
|
|
36
36
|
"@quenty/loader": "10.9.3",
|
|
37
37
|
"@quenty/maid": "3.5.3",
|
|
38
38
|
"@quenty/numberrangeutils": "3.1.3",
|
|
39
|
-
"@quenty/observablecollection": "12.30.0
|
|
39
|
+
"@quenty/observablecollection": "12.30.0",
|
|
40
40
|
"@quenty/promise": "10.13.0",
|
|
41
41
|
"@quenty/promisemaid": "5.13.0",
|
|
42
42
|
"@quenty/randomutils": "6.12.2",
|
|
43
43
|
"@quenty/rbxasset": "5.10.3",
|
|
44
|
-
"@quenty/rx": "13.23.0
|
|
44
|
+
"@quenty/rx": "13.23.0",
|
|
45
45
|
"@quenty/signal": "7.11.5",
|
|
46
|
-
"@quenty/soundgroup": "1.32.0
|
|
46
|
+
"@quenty/soundgroup": "1.32.0",
|
|
47
47
|
"@quenty/sounds": "10.16.0",
|
|
48
48
|
"@quenty/table": "3.9.2",
|
|
49
|
-
"@quenty/transitionmodel": "7.30.0
|
|
50
|
-
"@quenty/valueobject": "13.25.0
|
|
49
|
+
"@quenty/transitionmodel": "7.30.0",
|
|
50
|
+
"@quenty/valueobject": "13.25.0",
|
|
51
51
|
"@quentystudios/t": "^3.0.0"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "1f5d9bafb4e17d73030b5673eb979e0661b6d95a"
|
|
57
57
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
--!strict
|
|
2
|
-
local LoopedSoundPlayer = require(script.Parent.Parent.Loops.LoopedSoundPlayer)
|
|
3
2
|
--[=[
|
|
4
3
|
@class SoundPlayerServiceClient
|
|
5
4
|
]=]
|
|
@@ -7,7 +6,9 @@ local LoopedSoundPlayer = require(script.Parent.Parent.Loops.LoopedSoundPlayer)
|
|
|
7
6
|
local require = require(script.Parent.loader).load(script)
|
|
8
7
|
|
|
9
8
|
local LayeredSoundHelper = require("LayeredSoundHelper")
|
|
9
|
+
local LoopedSoundPlayer = require("LoopedSoundPlayer")
|
|
10
10
|
local Maid = require("Maid")
|
|
11
|
+
local Observable = require("Observable")
|
|
11
12
|
local ServiceBag = require("ServiceBag")
|
|
12
13
|
local SoundPlayerStack = require("SoundPlayerStack")
|
|
13
14
|
|
|
@@ -55,10 +56,11 @@ end
|
|
|
55
56
|
function SoundPlayerServiceClient.PushSoundPlayer(
|
|
56
57
|
self: SoundPlayerServiceClient,
|
|
57
58
|
layerId: string,
|
|
58
|
-
soundPlayer: LoopedSoundPlayer.LoopedSoundPlayer
|
|
59
|
+
soundPlayer: LoopedSoundPlayer.LoopedSoundPlayer,
|
|
60
|
+
priority: (number | Observable.Observable<number>)?
|
|
59
61
|
): () -> ()
|
|
60
62
|
local layer = self._soundPlayerHelper:GetOrCreateLayer(layerId)
|
|
61
|
-
return layer:PushSoundPlayer(soundPlayer)
|
|
63
|
+
return layer:PushSoundPlayer(soundPlayer, priority)
|
|
62
64
|
end
|
|
63
65
|
|
|
64
66
|
function SoundPlayerServiceClient.Destroy(self: SoundPlayerServiceClient): ()
|