SaturnRingLibrary 0.6
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::Sound::Cdda::Analysis Class Reference

Detailed Description

CD audio analysis.

#include <srl_sound.hpp>

Classes

struct  FrequencyVolume
 Frequency volume analysis. More...
 
struct  TotalVolume
 Total volume analysis. More...
 

Static Public Member Functions

static constexpr void End ()
 End volume analysis.
 
static FrequencyVolume GetFrequencyVolume ()
 Get the Frequency volume analysis.
 
static TotalVolume GetTotalVolume ()
 Get the total volume analysis.
 
static constexpr void Start ()
 Start volume analysis.
 

Member Function Documentation

◆ GetFrequencyVolume()

static FrequencyVolume SRL::Sound::Cdda::Analysis::GetFrequencyVolume ( )
inlinestatic

Get the Frequency volume analysis.

Note
This functionality can be enabled by setting 'SRL_ENABLE_FREQ_ANALYSIS' to 1 in makefile.
Special DSP effect program must be loaded for this to work, in SRL it will be loaded into effect slot 1.
Analysis is updated every 16ms
Returns
Frequency volume analysis

◆ GetTotalVolume()

static TotalVolume SRL::Sound::Cdda::Analysis::GetTotalVolume ( )
inlinestatic

Get the total volume analysis.

Note
Analysis is updated every 16ms
Returns
Volume analysis for left and right channel