Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
//
|
|
// Sample Name: Effects Form Sample
|
|
//
|
|
// Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
|
|
//
|
|
// GM/GS® Sound Set Copyright ©1996, Roland Corporation U.S.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Description
|
|
===========
|
|
The sample demonstrates:
|
|
|
|
(1) how to use standard effects (FX) with DirectSound
|
|
(2) how to manipulate FX parameters - and what the results sounds like
|
|
|
|
|
|
Path
|
|
====
|
|
Source: DXSDK\Samples\Multimedia\VBSamples\DirectSound\EffectsForm
|
|
|
|
Executable: DXSDK\Samples\Multimedia\VBSamples\DirectSound\Bin
|
|
|
|
|
|
User's Guide
|
|
============
|
|
- make sure a sound file is loaded (can be WAV)
|
|
|
|
- by default, no FX are enabled. try playing the sound to see what it
|
|
orginally sounds like.
|
|
|
|
- enable one or more FXs by adding them to the list of in use effects.
|
|
|
|
- Hit Apply to introduce the effects.
|
|
|
|
- Hit play to hear the FX applied.
|
|
|
|
- you can adjust parameters for any FX by selecting the effect in the
|
|
in use list box, and clicking the modify effects button beneath it.
|
|
If you are adjusting parameters for an active FX while sound is playing,
|
|
you will hearing the difference immediately.
|
|
|
|
|
|
Programming Notes
|
|
=================
|
|
Fill one or more DSEFFECTDESC structs, and pass them into
|
|
DirectSoundSecondaryBuffer8.SetFX.
|
|
|
|
When modify effects is clicked call GetObjectInPath to retreive an effects
|
|
interface, and then you can call SetAllParameters to modify the effects as
|
|
they are playing.
|