MIXInitDeviceControl

Syntax

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

void MIXInitDeviceControl(AXVPB          *p, 
                        AXPBDeviceType  device, 
                        u32             Id, 
                        MIXCntrlStruct *mcPtr, 
                        u32 mode
                        );

Parameters

p Pointer to AX Voice.
device Output device.
Id Device instance.
mcPtr Pointer to mixer control structure.
mode Mixing mode.

Return Values

None.

Description

Initializes the AUX, pre/post-fader configuration, pan, span, and fader controls for the device specified by device and Id. The mcPtr data structure contains the mixer controls. This function must be called after MIXAssignChannel.

For information on specifying an output device, see the AX Data Structures and Definitions Overview.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AX Data Structures and Definitions Overview
MIX Data Structures
MIXAssignChannel

Revision History

2013/05/08 Automated cleanup pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL