Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_SAMPLE_RATE = 96000 EFFECTIVE_DISTANCE = 0.215 HALF_EFFECTIVE_DISTANCE = 0.5 * EFFECTIVE_DISTANCE GROUP_DELAY = 6.3e-4 OUTPUT_COUNT = 2 )
* Other global constants.
View Source
const (
MATH_DEGREE_TO_RADIANS = math.Pi / 180.0
)
* Mathematical constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spatializer ¶
type Spatializer interface { GetAzimuth(inputChannel uint32) (float64, error) GetDistance(inputChannel uint32) (float64, error) GetLevel(inputChannel uint32) (float64, error) GetInputCount() uint32 GetOutputCount() uint32 Process(inputBuffers [][]float64, auxInputBuffer []float64, outputBuffers [][]float64) SetAzimuth(inputChannel uint32, azimuth float64) error SetDistance(inputChannel uint32, distance float64) error SetLevel(inputChannel uint32, level float64) error SetSampleRate(rate uint32) }
* Interface type for a spatializer.
Click to show internal directories.
Click to hide internal directories.