MIXSetDeviceSPan

Syntax

#include <cafe.h>
#include <cafe/mix.h>
    
void MIXSetDeviceSPan(AXVPB *p, AXPBDeviceType device, u32 Id, s16 span);

Parameters

p Pointer to a voice AXVPB structure from AX.
device Output device.
Id Device instance.
span Value to set.

Return Values

None.

Description

Sets the front-rear span value for the output device (specified by device and Id) for the given voice p. Span is an integer clamped between 0 and 127 (inclusive). Fully rear is 0, centered is 64, and fully forward is 127.

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
MIXAdjustDeviceSPan
MIXGetDeviceSPan

Revision History

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


CONFIDENTIAL