CRI ADX  Last Updated: 2025-05-07 13:34 p
How to Move a Sound Source

Sound source movement with 3D positioning

  1. Use the criAtomEx3dSource_Create function to create a 3D sound source handle.
  2. For the player handle, set the 3D sound source handle via the criAtomExPlayer_Set3dSourceHn function.
  3. Use the criAtomEx3dSource_SetPosition function to set the sound source position.
  4. Use the criAtomEx3dSource_SetVelocity function to set the velocity of the sound source (if using the Doppler effect).
  5. Use the criAtomEx3dSource_SetOrientation function to set the orientation of the sound source (if a cone is set).
  6. Use the criAtomEx3dSource_Update function to update.
For an overview of 3D positioning, refer to ' 3D positioning .'
Also refer to the sample program ' 3D positioning .'
Return:Tips