AudioClipExt.FromPcmStream Method

Creates an AudioClip from a PCM stream.

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

Syntax

C#

public static AudioClip FromPcmStream(
	Stream sourceStream,
	string clipName = "pcm"
)

Parameters

 

sourceStream
Type: System.IO.Stream
The source stream
clipName (Optional)
Type: System.String
The name assigned to the clip

Return Value

Type: AudioClip
The AudioClip object

See Also

Reference

AudioClipExt Class
UltimateXR.Extensions.Unity.Audio Namespace