Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
type Device struct {
Index int `json:"index"`
State string `json:"state"`
Name string `json:"name"`
Description string `json:"description"`
Driver string `json:"driver"`
SampleSpecification string `json:"sample_specification"`
ChannelMap string `json:"channel_map"`
OwnerModule int `json:"owner_module"`
Mute bool `json:"mute"`
Volume map[string]Volume `json:"volume"`
Balance float64 `json:"balance"`
BaseVolume Volume `json:"base_volume"`
MonitorSource string `json:"monitor_source"`
Latency Latency `json:"latency"`
Flags []string `json:"flags"`
Properties map[string]interface{} `json:"properties"`
Ports []interface{} `json:"ports"`
ActivePort interface{} `json:"active_port"`
Formats []string `json:"formats"`
}
type EgressInfo ¶
type IOBase ¶
type IOBase struct {
Index int `json:"index"`
Driver string `json:"driver"`
OwnerModule string `json:"owner_module"`
Client string `json:"client"`
SampleSpecification string `json:"sample_specification"`
ChannelMap string `json:"channel_map"`
Format string `json:"format"`
Corked bool `json:"corked"`
Mute bool `json:"mute"`
Volume map[string]Volume `json:"volume"`
Balance float64 `json:"balance"`
BufferLatencyUSec float64 `json:"buffer_latency_usec"`
SinkLatencyUSec float64 `json:"sink_latency_usec"`
ResampleMethod string `json:"resample_method"`
Properties map[string]interface{} `json:"properties"`
}
type PulseInfo ¶
type PulseInfo struct {
Modules []Module `json:"modules"`
Sinks []Device `json:"sinks"`
Sources []Device `json:"sources"`
SinkInputs []SinkInput `json:"sink_inputs"`
SourceOutputs []SourceOutput `json:"source_outputs"`
Clients []Client `json:"clients"`
Samples []interface{} `json:"samples"`
Cards []interface{} `json:"cards"`
}
func (*PulseInfo) GetEgressInfo ¶
func (info *PulseInfo) GetEgressInfo() map[int]*EgressInfo
type SourceOutput ¶
Click to show internal directories.
Click to hide internal directories.