IrrKlang.NET

ISoundEngine.Play2DMethod(String, Boolean, Boolean, StreamMode)

loads a sound source (if not loaded already) from a file and plays it.

[VisualBasic]
OverloadsPublicFunctionPlay2D( _
ByVal soundFilenameAsString,_
ByVal playLoopedAsBoolean,_
ByVal startPausedAsBoolean,_
ByVal streamModeAsStreamMode_
)AsISound
[C#]
publicISoundPlay2D(
stringsoundFilename,
boolplayLooped,
boolstartPaused,
StreamModestreamMode
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List