AudioClipExt.CreatePcmStreamed Method

Creates a AudioClipExt.StreamedPcmClip object from a stream containing PCM data.

Namespace: UltimateXR.Extensions.Unity.Audio
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static AudioClipExt.StreamedPcmClip CreatePcmStreamed(
	Stream pcmStream,
	string clipName = "pcm"
)

Parameters

 

pcmStream
Type: System.IO.Stream
PCM data
clipName (Optional)
Type: System.String
The name that will be assigned to the clip

Return Value

Type: AudioClipExt.StreamedPcmClip
AudioClipExt.StreamedPcmClip object

See Also

Reference

AudioClipExt Class
UltimateXR.Extensions.Unity.Audio Namespace