Sha256: c9e2b46f675c95d92fde8e39f245b02c757e772acff8cdfbcd3f898d2e44b538
Contents?: true
Size: 506 Bytes
Versions: 15
Compression:
Stored size: 506 Bytes
Contents
// -*- objc -*- #include "beeps/beeps.h" #include "Stk.h" #include "beeps/exception.h" #include "openal.h" #include "sound.h" #include "mic_in.h" namespace Beeps { void init () { OpenAL_init(); stk::Stk::setSampleRate(44100); } void fin () { MicIn_clear_streams(); SoundPlayer_clear_streams(); OpenAL_fin(); } void process_streams () { MicIn_process_streams(); SoundPlayer_process_streams(); } double sample_rate () { return stk::Stk::sampleRate(); } }// Beeps
Version data entries
15 entries across 15 versions & 1 rubygems