JxrPlatformAdapter.AudioTrackExtensionsWrapper


interface JxrPlatformAdapter.AudioTrackExtensionsWrapper


Interface for a SceneCore AudioTrackExtensionsWrapper

Summary

Public functions

JxrPlatformAdapter.PointSourceAttributes?

Returns the PointSourceAttributes of the AudioTrack.

JxrPlatformAdapter.SoundFieldAttributes?

Returns the SoundFieldAttributes of the AudioTrack.

Int

Returns the spatial source type of the AudioTrack.

AudioTrack.Builder

Sets the PointSourceAttributes of the AudioTrack.

AudioTrack.Builder

Sets the SoundFieldAttributes of the AudioTrack.

Public functions

getPointSourceAttributes

Added in 1.0.0-alpha02
fun getPointSourceAttributes(track: AudioTrack): JxrPlatformAdapter.PointSourceAttributes?

Returns the PointSourceAttributes of the AudioTrack.

Parameters
track: AudioTrack

The AudioTrack to get the PointSourceAttributes from.

Returns
JxrPlatformAdapter.PointSourceAttributes?

The PointSourceAttributes of the AudioTrack.

getSoundFieldAttributes

Added in 1.0.0-alpha02
fun getSoundFieldAttributes(track: AudioTrack): JxrPlatformAdapter.SoundFieldAttributes?

Returns the SoundFieldAttributes of the AudioTrack.

Parameters
track: AudioTrack

The AudioTrack to get the SoundFieldAttributes from.

Returns
JxrPlatformAdapter.SoundFieldAttributes?

The SoundFieldAttributes of the AudioTrack.

getSpatialSourceType

Added in 1.0.0-alpha02
fun getSpatialSourceType(track: AudioTrack): Int

Returns the spatial source type of the AudioTrack.

Parameters
track: AudioTrack

The AudioTrack to get the spatial source type from.

Returns
Int

The spatial source type of the AudioTrack.

setPointSourceAttributes

Added in 1.0.0-alpha02
fun setPointSourceAttributes(
    builder: AudioTrack.Builder,
    attributes: JxrPlatformAdapter.PointSourceAttributes
): AudioTrack.Builder

Sets the PointSourceAttributes of the AudioTrack.

Parameters
builder: AudioTrack.Builder

The AudioTrack.Builder to set the PointSourceAttributes on.

attributes: JxrPlatformAdapter.PointSourceAttributes

The PointSourceAttributes to set.

Returns
AudioTrack.Builder

The AudioTrack.Builder with the PointSourceAttributes set.

setSoundFieldAttributes

Added in 1.0.0-alpha02
fun setSoundFieldAttributes(
    builder: AudioTrack.Builder,
    attributes: JxrPlatformAdapter.SoundFieldAttributes
): AudioTrack.Builder

Sets the SoundFieldAttributes of the AudioTrack.

Parameters
builder: AudioTrack.Builder

The AudioTrack.Builder to set the SoundFieldAttributes on.

attributes: JxrPlatformAdapter.SoundFieldAttributes

The SoundFieldAttributes to set.

Returns
AudioTrack.Builder

The AudioTrack.Builder with the SoundFieldAttributes set.