Add moonmix: pavucontrol-style PipeWire mixer in MoonBit (WirePlumber + GTK4) (#1)
This commit was merged in pull request #1.
This commit is contained in:
1 parent
13a1de9b2c
commit
92ae5cdbfe
36 files changed
+3789
-1
No files matched your search
@@ -0,0 +1,58 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "geordi/moonmix/wp"
|
||||
|
||||
import {
|
||||
"geordi/moonmix/model",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn move_stream(Int32, Int32) -> Bool
|
||||
|
||||
pub fn node_ids() -> Array[Int32]
|
||||
|
||||
pub fn node_prop(Int32, String) -> String
|
||||
|
||||
pub fn on_event((Event) -> Unit) -> Unit
|
||||
|
||||
pub fn quit() -> Unit
|
||||
|
||||
pub fn read_defaults() -> @model.Event
|
||||
|
||||
pub fn read_links() -> Array[@model.Link]
|
||||
|
||||
pub fn read_node(Int32) -> @model.Node?
|
||||
|
||||
pub fn run() -> Unit
|
||||
|
||||
pub fn set_default_sink(Int32) -> Bool
|
||||
|
||||
pub fn set_default_source(Int32) -> Bool
|
||||
|
||||
pub fn set_mute(Int32, Bool) -> Bool
|
||||
|
||||
pub fn set_volumes(Int32, Array[Double]) -> Bool
|
||||
|
||||
pub fn start() -> Bool
|
||||
|
||||
pub fn timeout(Int32, Int32) -> Unit
|
||||
|
||||
pub fn to_model_events(Event) -> Array[@model.Event]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) enum Event {
|
||||
NodeAdded(Int32)
|
||||
NodeChanged(Int32)
|
||||
NodeRemoved(Int32)
|
||||
LinksChanged
|
||||
DefaultsChanged
|
||||
Ready
|
||||
Disconnected
|
||||
PluginError
|
||||
Timeout(Int32)
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user