API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISHELL_LOADSOUND()

Brew Release
Brew MP 1.0.2
See Also
AEE_RES_LANGSUF AEE_RES_LANGDIR IShell ISHELL_FreeResData ISHELL_LoadImage ISHELL_LoadResData ISHELL_LoadResImage ISHELL_LoadResObject ISHELL_LoadResSound ISHELL_LoadResString
Description
This function loads a sound file from the file system and returns the ISoundPlayer interface object for the file.
Params
pIShell
[]:
Pointer to the IShell interface object.
pszResFile
[]:
Sound file.
Interface
  • ISHELL
Prototype
  •     ISoundPlayer * ISHELL_LoadSound
        (
        IShell * pIShell,
        const char * pszResFile
        );
    
Return
  • Pointer to an ISoundPlayer interface that can be used for playing the sound : if successful. NULL : otherwise.
Side Effect
  • None
Comments
This function uses ISHELL_LoadResObject().