InputSoundFile.openFromFile

Open a sound file from the disk for reading.

The supported audio formats are: WAV (PCM only), OGG/Vorbis, FLAC. The supported sample sizes for FLAC and WAV are 8, 16, 24 and 32 bit.

class InputSoundFile
bool
openFromFile
(
const(char)[] filename
)

Return Value

Type: bool

true if the file was successfully opened.

Meta