# NNS_SndCaptureSetReverbVolume

## Syntax

      #include <nnsys/snd.h>

      void NNS_SndCaptureSetReverbVolume( int volume, int frames );

## Arguments

`volume` | Target volume for the reverb component. Takes a value between 0 and 63.
`frames` | Frame count for volume change (the period of time over which the volume change takes place).

## Return Values

None.

## Description

This function changes the volume of the reverb component. If reverb is not enabled, this function does nothing.

The current volume value changes gradually over the number of `frames` to the volume value set with `volume`. When `volume` is set to the maximum of `63`, about half of the mixer output volume is fed back as reverberation.

When `frames` is set to 0, the current volume value changes immediately. For example, when changing the volume from a certain value unrelated to the current volume value to a targeted value, call this function with `frames` set to `0`. After changing the current volume value, specify the target volume value with a second call to this function.

## See Also

None.

## Revision History

2004/04/01 Initial version.

CONFIDENTIAL