src/beeps.cpp in beeps-0.1.32 vs src/beeps.cpp in beeps-0.1.33
- old
+ new
@@ -3,10 +3,12 @@
#include "Stk.h"
#include "beeps/exception.h"
#include "openal.h"
+#include "sound.h"
+#include "mic_in.h"
namespace Beeps
{
@@ -23,11 +25,18 @@
fin ()
{
OpenAL_fin();
}
- uint
- sampling_rate ()
+ void
+ process_streams ()
+ {
+ MicIn_process_streams();
+ SoundPlayer_process_streams();
+ }
+
+ double
+ sample_rate ()
{
return stk::Stk::sampleRate();
}