]>
git.r.bdr.sh - rbdr/pico-engine/blob - audio.cpp
3 /*I should add the sound here.*/
4 void Audio::load_clip(const char *soundclip
)
6 std::cout
<< ">>> Added Sound: " << soundclip
<< "\n";
9 /*Look for and play the sound.*/
10 void Audio::play_sfx(const char *soundclip
)
12 std::cout
<< ">>> Played Sound: " << soundclip
<< "\n";
15 /*Look for and play bgm*/
16 void Audio::play_bgm(const char *soundclip
)
18 std::cout
<< ">>> Beginning Playback of: " << soundclip
<< "\n";
21 /*Look for and stop bgm*/
22 void Audio::stop_bgm(const char *soundclip
)
24 std::cout
<< ">>> Stopping Playback of: " << soundclip
<< "\n";