IrrKlang.NET

ISoundEngine.Play2DMethod(String, Boolean)

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

[VisualBasic]
OverloadsPublicFunctionPlay2D( _
ByVal soundFilenameAsString,_
ByVal playLoopedAsBoolean_
)AsISound
[C#]
publicISoundPlay2D(
stringsoundFilename,
boolplayLooped
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List