SpatialAudioTrackBuilder
object SpatialAudioTrackBuilder
Provides spatial audio extensions on the platform AudioTrack.Builder class.
Summary
Public functions |
|
|---|---|
Unit |
setPointSourceParams(Sets the |
Unit |
setSoundFieldAttributes(Sets the |
Public functions
setPointSourceParams
fun setPointSourceParams(
session: Session,
builder: AudioTrack.Builder,
params: PointSourceParams,
entity: Entity
): Unit
Sets the PointSourceParams on the provided AudioTrack.Builder.
| Parameters | |
|---|---|
session: Session |
The current |
builder: AudioTrack.Builder |
The Builder on which to set the attributes. |
params: PointSourceParams |
The source params to be set. |
entity: Entity |
The |
setSoundFieldAttributes
fun setSoundFieldAttributes(
session: Session,
builder: AudioTrack.Builder,
attributes: SoundFieldAttributes
): Unit
Sets the SoundFieldAttributes on the provided AudioTrack.Builder.
| Parameters | |
|---|---|
session: Session |
The current |
builder: AudioTrack.Builder |
The Builder on which to set the attributes. |
attributes: SoundFieldAttributes |
The source attributes to be set. |