MIXDRCInitVoice

Syntax

#include <cafe.h>
#include <cafe/mix.h>

void    MIXDRCInitVoice (AXVPB *p, 
                        u32 deviceId,
                        u32 mode, 
                        int aux,
                        int pan,
                        int span,
                        int fader);

Parameters

p Pointer to a voice AXVPB structure from AX.
deviceId DRC id number.
mode Initial aux mode, see mix.h.
aux Attenuation for Aux control.
pan Left - right pan control.
span Rear - forward span control.
fader Attenuation for fader control.

Return Values

None.

Description

Initialize a channel's DRC send on the mixer to user-specified values. Users should call this after successful call to AXAcquireVoice to setup initial values on the channel belonging to that voice if the user wishes to use this mixer for that voice. Not calling this will leave the DRC send at -960 dB (off).

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 No

Do Not Call From

None.

Revision History

2013/07/30 Initial version


CONFIDENTIAL