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

Developer

API Reference

IMEDIAAUDIO3D_SETMODE()

Brew Release
Brew MP 1.0.2
See Also
IMediaAudio3D_SetParm() IMediaAudio3D_GetMode() IMediaAUDIOENV_AddMedia()
Description
This function sets the 3D processing mode.
Params
pIMediaAudio3D
[in]:
Pointer to IMediaAudio3D Interface.
nMode
[in]:
New mode value, MM_A3D_MODE_XXX
Interface
Prototype
  •     int IMediaAudio3D_SetMode
        ( 
        IMediaAudio3D *pIMediaAudio3D,
        int nMode
        )
    
Return
  • SUCCESS: Successful. Operation completed. EBADPARM: Bad parameter ENOMEMORY: Not enough memory EUNSUPPORTED: Request not supported by the class EFAILED: General failure
Side Effect
  • None
Comments
nMode setting takes effect only when the associated media has been added to the environment. Otherwise nMode setting is treated as MM_A3D_MODE_DISABLE. nMode value can be one of the following: MM_A3D_MODE_DISABLE : (Default) Disable 3D processing MM_A3D_MODE_NORMAL : Normal mode MM_A3D_MODE_LISTENER_RELATIVE: All parameters are relative to listener