Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CoreAudioAlreadyInitialized = errors.New("CoInitializeEX returned S_FALSE -> Already initialized on this thread")
)
Functions ¶
This section is empty.
Types ¶
type CoreAudio ¶
type CoreAudio struct {
// contains filtered or unexported fields
}
func New ¶
New will create a new CoreAudio interface and start all the event loops and bindings necessasry to inderact with Window's Audio APIs
func (*CoreAudio) Cleanup ¶
Cleanup is called by other packages to close down the event loop, clear any pointers, and get ready for shutdown.
func (*CoreAudio) HandleMIDIMessage ¶
HandleMIDIMessage will take a *mixer.Mapping, and the MIDI's channel c, along with the value sent v, to peform the necessary logic of refreshing devices, setting volumes of audio sessions, devices, and other potential scenarios.
func (*CoreAudio) HandleSystrayMessage ¶
HandleSystrayMessage takes messages from systray and will act accordingy.
Click to show internal directories.
Click to hide internal directories.