Restrict access to global Audio
(#7122)
This PR restricts access to the `Audio` global to force consumers to go through the `Audio` public interface to interact with it. Release Notes: - N/A
This commit is contained in:
parent
176f63e86e
commit
d97e780135
3 changed files with 18 additions and 15 deletions
|
@ -10,14 +10,12 @@ path = "src/audio.rs"
|
|||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
gpui = { path = "../gpui" }
|
||||
collections = { path = "../collections" }
|
||||
util = { path = "../util" }
|
||||
|
||||
|
||||
rodio ={version = "0.17.1", default-features=false, features = ["wav"]}
|
||||
|
||||
log.workspace = true
|
||||
futures.workspace = true
|
||||
anyhow.workspace = true
|
||||
collections = { path = "../collections" }
|
||||
derive_more.workspace = true
|
||||
futures.workspace = true
|
||||
gpui = { path = "../gpui" }
|
||||
log.workspace = true
|
||||
parking_lot.workspace = true
|
||||
rodio = { version = "0.17.1", default-features = false, features = ["wav"] }
|
||||
util = { path = "../util" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue