SpatialAudioTrackBuilder
public static class SpatialAudioTrackBuilder
Provides spatial audio extensions on the platform AudioTrack.Builder class.
Summary
Public fields |
|
|---|---|
static @NonNull SpatialAudioTrackBuilder |
Public methods |
|
|---|---|
static final void |
setPointSourceParams(Sets the |
static final void |
setSoundFieldAttributes(Sets the |
Public fields
Public methods
setPointSourceParams
public static final void setPointSourceParams(
@NonNull Session session,
@NonNull AudioTrack.Builder builder,
@NonNull PointSourceParams params
)
Sets the PointSourceParams on the provided AudioTrack.Builder.
| Parameters | |
|---|---|
@NonNull Session session |
The current |
@NonNull AudioTrack.Builder builder |
The Builder on which to set the attributes. |
@NonNull PointSourceParams params |
The source params to be set. |
setSoundFieldAttributes
public static final void setSoundFieldAttributes(
@NonNull Session session,
@NonNull AudioTrack.Builder builder,
@NonNull SoundFieldAttributes attributes
)
Sets the SoundFieldAttributes on the provided AudioTrack.Builder.
| Parameters | |
|---|---|
@NonNull Session session |
The current |
@NonNull AudioTrack.Builder builder |
The Builder on which to set the attributes. |
@NonNull SoundFieldAttributes attributes |
The source attributes to be set. |