THPPlayerSetSoundMode

Syntax

#include "THPPlayer.h"

#define THP_SOUND_MODE_MONO      0
#define THP_SOUND_MODE_STEREO    1
#define THP_SOUND_MODE_SURROUND  THP_SOUND_MODE_STEREO
#define THP_SOUND_MODE_DPL2      THP_SOUND_MODE_STEREO

void THPPlayerSetSoundMode(s32 mode);

Arguments

mode
THP_SOUND_MODE_MONO Sets the THP player's sound output mode to monaural. If the THP audio data is stereo, the left and right channels are mixed and made monaural.
THP_SOUND_MODE_STEREO Sets the THP player's sound output mode to stereo. If the THP audio data is monaural, the data is copied and made stereo.
THP_SOUND_MODE_SURROUND Same as THP_SOUND_MODE_STEREO.
THP_SOUND_MODE_DPL2 Same as THP_SOUND_MODE_STEREO.

Return Values

None.

Description

The THPPlayerSetSoundMode function configures the THP player's sound output mode. These modes should be set in conjunction with the mode set for AX.

The THP player's default output mode is THP_SOUND_MODE_STEREO.

Note: The THPPlayerSetSoundMode function is not prepared for THP players that use the AX audio stream (THPPlayerStrmAX). THPPlayerStrmAX plays output data in accordance with the mode configured in the AX library.

See Also

Revision History

2008/02/28 Initial version.


CONFIDENTIAL