wininternal

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package wininternal defines common initialization steps for audio on windows. It must be a common library because windows will not allow the same application to initialize direct sound twice, but it must not be an `internal` directory because of how the audio packages are structured for backwards compatibility. TODO: oak v4: move to an internal package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interface *dsound.IDirectSound
	Devices   map[*dsound.GUID]string
}

A Config contains the API interfaces initalized by this package

func Init

func Init() (Config, error)

Init initializes directsound or returns an already intialized direct sound instance. It may (but should probably not) be called outside of other oakmound/oak/* packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL