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

Version Path
beeps-0.2.1 src/beeps.cpp
beeps-0.2 src/beeps.cpp
beeps-0.1.46 src/beeps.cpp
beeps-0.1.45 src/beeps.cpp
beeps-0.1.44 src/beeps.cpp
beeps-0.1.43 src/beeps.cpp
beeps-0.1.42 src/beeps.cpp
beeps-0.1.41 src/beeps.cpp
beeps-0.1.40 src/beeps.cpp
beeps-0.1.39 src/beeps.cpp
beeps-0.1.38 src/beeps.cpp
beeps-0.1.37 src/beeps.cpp
beeps-0.1.36 src/beeps.cpp
beeps-0.1.35 src/beeps.cpp
beeps-0.1.34 src/beeps.cpp