persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
audioDb.hpp File Reference
#include "types/aeTypes.hpp"
#include <string>
Include dependency graph for audioDb.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AudioDBEntry

Enumerations

enum class  AudioType {
  NONE = 0 , BATTLE , LOCATION , MENU ,
  OTHER , CUSTOM
}
enum class  BattleAudio { MASS_DESTRUCTION = 0 }
enum class  LocationAudio { IWATODAI_DORM = 0 , SUMMER_BOUND , COLOR_YOUR_NIGHT , PAULOWNIA_MALL }
enum class  MenuAudio { MISTIC = 0 , TIGHTROPE , ARIA_OF_THE_SOUL }
enum class  OtherAudio {
  AFTER_THE_BATTLE = 0 , BECAUSE_I_WILL_PROTECT_YOU , CLUB_ESCAPADE_NOUVEAU_METALMOTH_REMIX , PEACE ,
  WANT_TO_BE_CLOSE
}

Functions

std::string getAudioFilepath (AudioType type, int id)
 Get the audio file path.
ae::q20_12_t getLoopStart (AudioType type, int id)
 Get the loop start time.
ae::q20_12_t getLoopEnd (AudioType type, int id)
 Get the loop end time.
AudioDBEntry getAudioDBEntry (AudioType type, int id)
 Internal helper to get the AudioDBEntry struct.

Enumeration Type Documentation

◆ AudioType

enum class AudioType
strong
Enumerator
NONE 
BATTLE 
LOCATION 
MENU 
OTHER 
CUSTOM 

Definition at line 5 of file audioDb.hpp.

◆ BattleAudio

enum class BattleAudio
strong
Enumerator
MASS_DESTRUCTION 

Definition at line 25 of file audioDb.hpp.

◆ LocationAudio

enum class LocationAudio
strong
Enumerator
IWATODAI_DORM 
SUMMER_BOUND 
COLOR_YOUR_NIGHT 
PAULOWNIA_MALL 

Definition at line 30 of file audioDb.hpp.

◆ MenuAudio

enum class MenuAudio
strong
Enumerator
MISTIC 
TIGHTROPE 
ARIA_OF_THE_SOUL 

Definition at line 38 of file audioDb.hpp.

◆ OtherAudio

enum class OtherAudio
strong
Enumerator
AFTER_THE_BATTLE 
BECAUSE_I_WILL_PROTECT_YOU 
CLUB_ESCAPADE_NOUVEAU_METALMOTH_REMIX 
PEACE 
WANT_TO_BE_CLOSE 

Definition at line 45 of file audioDb.hpp.

Function Documentation

◆ getAudioDBEntry()

AudioDBEntry getAudioDBEntry ( AudioType type,
int id )

Internal helper to get the AudioDBEntry struct.

Parameters
typeth AudioType to get
idthe specific audio to get
Returns
AudioDBEntry the data

Definition at line 78 of file audioDb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAudioFilepath()

std::string getAudioFilepath ( AudioType type,
int id )

Get the audio file path.

Parameters
typeth AudioType to get
idthe specific audio to get
Returns
std::string the filepath

Definition at line 93 of file audioDb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLoopEnd()

ae::q20_12_t getLoopEnd ( AudioType type,
int id )

Get the loop end time.

Parameters
typeth AudioType to get
idthe specific audio to get
Returns
ae::q20_12_t the loop end time

Definition at line 115 of file audioDb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLoopStart()

ae::q20_12_t getLoopStart ( AudioType type,
int id )

Get the loop start time.

Parameters
typeth AudioType to get
idthe specific audio to get
Returns
ae::q20_12_t the loop end time

Definition at line 104 of file audioDb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: