THPSimpleSetSoundMode

Syntax

#include "THPSimple.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 THPSimpleSetSoundMode(s32 mode);

Arguments

mode
THP_SOUND_MODE_MONO Sets the THP simple 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 simple 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 THPSimpleSetSoundMode function configures the THP simple player's sound output mode. These modes should be set in conjunction with the mode set for AX.

The THP simple player's default output mode is THP_SOUND_MODE_STEREO.

See Also

Revision History

2008/02/28 Initial version.


CONFIDENTIAL