IrrKlang.NET

ISoundEngine.Play2DMethod(String)

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

[VisualBasic]
OverloadsPublicFunctionPlay2D( _
ByVal soundFilenameAsString_
)AsISound
[C#]
publicISoundPlay2D(
stringsoundFilename
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List