JxrPlatformAdapter.SoundPoolExtensionsWrapper


interface JxrPlatformAdapter.SoundPoolExtensionsWrapper


Interface for a SceneCore SoundPoolExtensionsWrapper.

Summary

Public functions

Int
getSpatialSourceType(soundPool: SoundPool, streamId: Int)
Int
play(
    soundPool: SoundPool,
    soundId: Int,
    attributes: JxrPlatformAdapter.PointSourceAttributes,
    volume: Float,
    priority: Int,
    loop: Int,
    rate: Float
)
Int
play(
    soundPool: SoundPool,
    soundId: Int,
    attributes: JxrPlatformAdapter.SoundFieldAttributes,
    volume: Float,
    priority: Int,
    loop: Int,
    rate: Float
)

Public functions

getSpatialSourceType

Added in 1.0.0-alpha01
fun getSpatialSourceType(soundPool: SoundPool, streamId: Int): Int

play

Added in 1.0.0-alpha01
fun play(
    soundPool: SoundPool,
    soundId: Int,
    attributes: JxrPlatformAdapter.PointSourceAttributes,
    volume: Float,
    priority: Int,
    loop: Int,
    rate: Float
): Int

play

Added in 1.0.0-alpha01
fun play(
    soundPool: SoundPool,
    soundId: Int,
    attributes: JxrPlatformAdapter.SoundFieldAttributes,
    volume: Float,
    priority: Int,
    loop: Int,
    rate: Float
): Int