IrrKlang.NET |

# ISoundEngine.Play2D Method (String, Boolean, Boolean, StreamMode)

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

[Visual Basic]
Overloads Public Function Play2D( _
ByVal soundFilename As String, _
ByVal playLooped As Boolean, _
ByVal startPaused As Boolean, _
ByVal streamMode As StreamMode _
) As ISound
[C#]
public ISound Play2D(
string soundFilename,
bool playLooped,
bool startPaused,
StreamMode streamMode
);

#### See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List