diff include/Bela.h @ 303:421a69d42943 prerelease

Changed BeagleRT -> Bela in defines and thread names; some preliminary mux capelet stuff
author andrewm
date Fri, 27 May 2016 17:40:44 +0100
parents e4392164b458
children ff5f346a293e
line wrap: on
line diff
--- a/include/Bela.h	Fri May 27 17:28:24 2016 +0100
+++ b/include/Bela.h	Fri May 27 17:40:44 2016 +0100
@@ -21,12 +21,12 @@
  * Bela is based on the Xenomai real-time Linux extensions (http://xenomai.org) and
  * uses the BeagleBone %PRU subsystem to address the audio and sensor hardware.
  *
- * Further information can be found at http://beaglert.cc
+ * Further information can be found at http://bela.io
  */
 
 
-#ifndef BEAGLERT_H_
-#define BEAGLERT_H_
+#ifndef BELA_H_
+#define BELA_H_
 
 #include <stdint.h>
 #include <unistd.h>
@@ -55,7 +55,7 @@
  * In general, all auxiliary tasks should have a level lower than this unless for\
  * special purposes where the task needs to interrupt audio processing.
  */
-#define BEAGLERT_AUDIO_PRIORITY		95
+#define BELA_AUDIO_PRIORITY		95
 
 // Default volume levels
 
@@ -90,11 +90,11 @@
 /**
  * Flag for BelaContext. If set, indicates the audio and analog buffers are interleaved.
  */
-#define BEAGLERT_FLAG_INTERLEAVED				(1 << 0)	// Set if buffers are interleaved
+#define BELA_FLAG_INTERLEAVED				(1 << 0)	// Set if buffers are interleaved
 /**
  * Flag for BelaContext. If set, indicates analog outputs persist for future frames.
  */
-#define BEAGLERT_FLAG_ANALOG_OUTPUTS_PERSIST	(1 << 1)	// Set if analog/digital outputs persist for future buffers
+#define BELA_FLAG_ANALOG_OUTPUTS_PERSIST	(1 << 1)	// Set if analog/digital outputs persist for future buffers
 
 /**
  * \ingroup control
@@ -255,9 +255,9 @@
 	///
 	/// Binary combination of flags including:
 	///
-	/// BEAGLERT_FLAG_INTERLEAVED: indicates the audio and analog buffers are interleaved
+	/// BELA_FLAG_INTERLEAVED: indicates the audio and analog buffers are interleaved
 	///
-	/// BEAGLERT_FLAG_ANALOG_OUTPUTS_PERSIST: indicates that writes to the analog outputs will
+	/// BELA_FLAG_ANALOG_OUTPUTS_PERSIST: indicates that writes to the analog outputs will
 	/// persist for future frames. If not set, writes affect one frame only.
 	uint32_t flags;
 } BelaContext;
@@ -576,7 +576,7 @@
  * Auxiliary tasks should be created in setup() and never in render() itself.
  *
  * The second argument specifies the real-time priority. Valid values are between 0
- * and 99, and usually should be lower than \ref BEAGLERT_AUDIO_PRIORITY. Tasks with higher priority always
+ * and 99, and usually should be lower than \ref BELA_AUDIO_PRIORITY. Tasks with higher priority always
  * preempt tasks with lower priority.
  *
  * \param functionToCall Function which will run each time the auxiliary task is scheduled.
@@ -618,4 +618,4 @@
 /** @} */
 #include <Utilities.h>
 
-#endif /* BEAGLERT_H_ */
+#endif /* BELA_H_ */