The SetPreset method sets standard reverberation parameters of a buffer.
HRESULT SetPreset( DWORD dwPreset );
Value |
DSFX_I3DL2_ENVIRONMENT_PRESET_DEFAULT |
DSFX_I3DL2_ENVIRONMENT_PRESET_GENERIC |
DSFX_I3DL2_ENVIRONMENT_PRESET_PADDEDCELL |
DSFX_I3DL2_ENVIRONMENT_PRESET_ROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_BATHROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_LIVINGROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_STONEROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_AUDITORIUM |
DSFX_I3DL2_ENVIRONMENT_PRESET_CONCERTHALL |
DSFX_I3DL2_ENVIRONMENT_PRESET_CAVE |
DSFX_I3DL2_ENVIRONMENT_PRESET_ARENA |
DSFX_I3DL2_ENVIRONMENT_PRESET_HANGAR |
DSFX_I3DL2_ENVIRONMENT_PRESET_CARPETEDHALLWAY |
DSFX_I3DL2_ENVIRONMENT_PRESET_HALLWAY |
DSFX_I3DL2_ENVIRONMENT_PRESET_STONECORRIDOR |
DSFX_I3DL2_ENVIRONMENT_PRESET_ALLEY |
DSFX_I3DL2_ENVIRONMENT_PRESET_FOREST |
DSFX_I3DL2_ENVIRONMENT_PRESET_CITY |
DSFX_I3DL2_ENVIRONMENT_PRESET_MOUNTAINS |
DSFX_I3DL2_ENVIRONMENT_PRESET_QUARRY |
DSFX_I3DL2_ENVIRONMENT_PRESET_PLAIN |
DSFX_I3DL2_ENVIRONMENT_PRESET_PARKINGLOT |
DSFX_I3DL2_ENVIRONMENT_PRESET_SEWERPIPE |
DSFX_I3DL2_ENVIRONMENT_PRESET_UNDERWATER |
DSFX_I3DL2_ENVIRONMENT_PRESET_SMALLROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_MEDIUMROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_LARGEROOM |
DSFX_I3DL2_ENVIRONMENT_PRESET_MEDIUMHALL |
DSFX_I3DL2_ENVIRONMENT_PRESET_LARGEHALL |
DSFX_I3DL2_ENVIRONMENT_PRESET_PLATE |
If the method succeeds, the return value is DS_OK. If the method fails, the return value may be DSERR_INVALIDPARAM.
Header: Declared in Dsound.h.
Import Library: Use Dsdmo.dll.