SoundBuffer Constructor (String)

SFML.Net

SoundBuffer Constructor (String)
Construct a sound buffer from a file Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.

Namespace: SFML.Audio
Assembly: sfmlnet-audio-2 (in sfmlnet-audio-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public SoundBuffer(
	string filename
)
Public Sub New ( 
	filename As String
)
public:
SoundBuffer(
	String^ filename
)
new : 
        filename : string -> SoundBuffer

Parameters

filename
Type: SystemString
Path of the sound file to load
Exceptions
ExceptionCondition
LoadingFailedException
See Also