HolyLib Wiki

bass.PlayFile

  bass.PlayFile( string filePath, string flags, function callback )

Description

Creates a IGMODAudioChannel using the given file.

Arguments

1string filePath

Path to the file

2string flags

Flags to use

3function callback

callback function with the created IGMODAudioChannel

Function argument(s):
1IGMODAudioChannel channel -

The created channel. nil on error

2number errorCode -

The error code

3string error -

The error string

Function return argument(s):