SpatialAudioModel Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the spatial audio processing model used by an AudioNodeEmitter.
public enum class SpatialAudioModel
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class SpatialAudioModel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum SpatialAudioModel
var value = Windows.Media.Audio.SpatialAudioModel.objectBased
Public Enum SpatialAudioModel
- Inheritance
-
SpatialAudioModel
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
ObjectBased | 0 | Spatial audio is processed using the Microsoft head-relative transfer function (HRTF) algorithm. This provides a more realistic spatial sound that preserves X, Y, and Z coordinates of the emitter, but at a higher CPU and memory cost than fold-down processing. |
FoldDown | 1 | Spatial audio is processed using non-spatial methods, such as panning between stereo channels. This provides less realistic spatial sound that preserves the X and Z coordinates of the emitter, but effectively ignores the Y coordinate. This model has a lower CPU and memory cost than object-based processing. |