Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { Description string Ports []*DevicePort ActivePort *DevicePort // contains filtered or unexported fields }
Device
func NewDevice ¶
func NewDevice(client *pulseaudio.Client, objectPath dbus.ObjectPath) (*Device, error)
NewDevice
func (*Device) SetActivePort ¶
func (device *Device) SetActivePort(newActivePort *DevicePort) error
SetActivePort change the active port of the device with the one given
type DevicePort ¶
type DevicePort struct { Description string // contains filtered or unexported fields }
DevicePort
Click to show internal directories.
Click to hide internal directories.