libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
AudioChannelsSetting.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum AudioChannelsSetting AudioChannelsSetting
 Selects the number and arrangement of output audio channels.
 

Enumerations

enum  AudioChannelsSetting { audioStereo , audioMatrix51 , audioRaw51 , audioMax }
 Selects the number and arrangement of output audio channels. More...
 

Functions

const char * AudioChannelsSettingName (AudioChannelsSetting setting)
 Returns a human-readable name for the given AudioChannelsSetting.
 

Typedef Documentation

◆ AudioChannelsSetting

Selects the number and arrangement of output audio channels.

This enum controls both how the audio player configures the hardware device and whether the SoundMatrixDecoder is engaged to downmix or upmix the game's signal.

Enumeration Type Documentation

◆ AudioChannelsSetting

Selects the number and arrangement of output audio channels.

This enum controls both how the audio player configures the hardware device and whether the SoundMatrixDecoder is engaged to downmix or upmix the game's signal.

Enumerator
audioStereo 

Standard 2-channel stereo output (L, R).

audioMatrix51 

5.1 surround produced by decoding a stereo signal through a sound matrix.

audioRaw51 

5.1 surround using raw 6-channel game output without matrix decoding.

audioMax 

Sentinel value; do not use as an audio mode.

Function Documentation

◆ AudioChannelsSettingName()

const char * AudioChannelsSettingName ( AudioChannelsSetting  setting)
inline

Returns a human-readable name for the given AudioChannelsSetting.

Parameters
settingThe channel mode to describe.
Returns
A null-terminated string such as "Stereo" or "5.1 Matrix".