AllegroFlare/Prototypes/MindDive/Hypersync
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
| song_filename |
std::string |
| song_bpm |
float |
| timer |
AllegroFlare::Timer |
| audio_stream |
ALLEGRO_AUDIO_STREAM* |
| audio_voice |
ALLEGRO_VOICE* |
| audio_mixer |
ALLEGRO_MIXER* |
| initialized |
bool |
| stream_is_attached |
bool |
| MIN_SONG_BPM |
float |
| latency_sec |
float |
Methods
| TODO() |
| set_song_filename(std::string song_filename="[unset-song-filename.ogg]") |
| set_song_bpm(float song_bpm=0.0f) |
| get_timer_seconds() |
| get_timer_milliseconds() |
| get_timer_microseconds() |
| get_beat_num(float seconds=0.0f) |
| get_measure_num(float seconds=0.0f) |
| build_beat_clock_str() |
| start() |
| initialize() |
| destruct() |
Dependencies
| {"symbol"=>"ALLEGRO_EVENT_QUEUE", "headers"=>["allegro5/allegro.h"]} |
| {"symbol"=>"ALLEGRO_AUDIO_STREAM", "headers"=>["allegro5/allegro_audio.h"]} |
| {"symbol"=>"ALLEGRO_VOICE", "headers"=>["allegro5/allegro_audio.h"]} |
| {"symbol"=>"ALLEGRO_MIXER", "headers"=>["allegro5/allegro_audio.h"]} |
| {"symbol"=>"al_is_acodec_addon_initialized", "headers"=>["allegro5/allegro_acodec.h"]} |
| {"symbol"=>"AllegroFlare::Timer", "headers"=>["AllegroFlare/Timer.hpp"]} |
| {"symbol"=>"fmod", "headers"=>["cmath"]} |
Sponsor
Get the best designed cat shirts at clubatt.com