UCohtmlAudioWrapper

Inherits from UObject

Public Functions

Name
UCohtmlAudioWrapper()
~UCohtmlAudioWrapper()
virtual voidBeginDestroy() override
boolHasOwner()
voidSetOwner(UObject * Owner)
voidCreateStream(int Id, int BitDepth, int Channels, float SamplingRate)
voidOnAudioStreamCreated(int Id, int BitDepth, int Channels, float SamplingRate)
voidDestroyStream(int Id)
voidPlayStream(int Id)
voidPauseStream(int Id)
voidReceiveDataForStream(int Id, int Samples, float ** Pcm, int Channels)
voidStreamEnded(int Id)
voidChangeStreamVolume(int Id, float Volume)
voidSetAttenuation(const FSoundAttenuationSettings & Settings)

Public Functions Documentation

function UCohtmlAudioWrapper

UCohtmlAudioWrapper()

function ~UCohtmlAudioWrapper

~UCohtmlAudioWrapper()

function BeginDestroy

virtual void BeginDestroy() override

function HasOwner

inline bool HasOwner()

function SetOwner

void SetOwner(
    UObject * Owner
)

function CreateStream

void CreateStream(
    int Id,
    int BitDepth,
    int Channels,
    float SamplingRate
)

function OnAudioStreamCreated

void OnAudioStreamCreated(
    int Id,
    int BitDepth,
    int Channels,
    float SamplingRate
)

function DestroyStream

void DestroyStream(
    int Id
)

function PlayStream

void PlayStream(
    int Id
)

function PauseStream

void PauseStream(
    int Id
)

function ReceiveDataForStream

void ReceiveDataForStream(
    int Id,
    int Samples,
    float ** Pcm,
    int Channels
)

function StreamEnded

void StreamEnded(
    int Id
)

function ChangeStreamVolume

void ChangeStreamVolume(
    int Id,
    float Volume
)

function SetAttenuation

void SetAttenuation(
    const FSoundAttenuationSettings & Settings
)