IrrKlang.NET

ISoundEngine.AddFileFactoryMethod

Adds a file factory to the sound engine, making it possible to override file access of the sound engine. Derive your own class from IFileFactory, overwrite the openFile() method and return your own implemented System::IO::Stream to overwrite file access of irrKlang.

[VisualBasic]
PublicSubAddFileFactory( _
ByVal fileFactoryAsIFileFactory_
)
[C#]
publicvoidAddFileFactory(
IFileFactoryfileFactory
);

See Also

ISoundEngine Class | IrrKlang Namespace