libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Ship::AudioSettings Struct Reference

Configuration parameters shared by all AudioPlayer backends. More...

#include <AudioPlayer.h>

Public Attributes

int32_t SampleRate = 44100
 Output sample rate in Hz.
 
int32_t SampleLength = 1024
 Number of samples per audio frame.
 
int32_t DesiredBuffered = 2480
 Target number of frames to keep buffered.
 
AudioChannelsSetting ChannelSetting
 Channel mode (stereo / 5.1 matrix / 5.1 raw).
 

Detailed Description

Configuration parameters shared by all AudioPlayer backends.

Member Data Documentation

◆ ChannelSetting

AudioChannelsSetting Ship::AudioSettings::ChannelSetting
Initial value:
=
AudioChannelsSetting::audioStereo

Channel mode (stereo / 5.1 matrix / 5.1 raw).

◆ DesiredBuffered

int32_t Ship::AudioSettings::DesiredBuffered = 2480

Target number of frames to keep buffered.

◆ SampleLength

int32_t Ship::AudioSettings::SampleLength = 1024

Number of samples per audio frame.

◆ SampleRate

int32_t Ship::AudioSettings::SampleRate = 44100

Output sample rate in Hz.


The documentation for this struct was generated from the following file: