2015-04-10 22:06:17 +02:00
|
|
|
/** @file
|
|
|
|
* @author Edouard DUPIN
|
|
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
|
|
* @license APACHE v2.0 (see license file)
|
|
|
|
* @fork from RTAudio
|
|
|
|
*/
|
2016-02-02 21:18:54 +01:00
|
|
|
#pragma once
|
2015-04-10 22:06:17 +02:00
|
|
|
|
2016-10-02 22:06:09 +02:00
|
|
|
#include <etk/types.hpp>
|
2017-09-26 15:57:44 +02:00
|
|
|
#include <etk/Vector.hpp>
|
2015-04-10 22:06:17 +02:00
|
|
|
|
|
|
|
namespace audio {
|
|
|
|
namespace orchestra {
|
2016-04-29 23:16:07 +02:00
|
|
|
enum class status {
|
|
|
|
ok, //!< nothing...
|
|
|
|
overflow, //!< Internal buffer has more data than they can accept
|
|
|
|
underflow //!< The internal buffer is empty
|
2015-04-10 22:06:17 +02:00
|
|
|
};
|
2017-08-28 00:08:41 +02:00
|
|
|
etk::Stream& operator <<(etk::Stream& _os, enum audio::orchestra::status _obj);
|
|
|
|
etk::Stream& operator <<(etk::Stream& _os, const etk::Vector<enum audio::orchestra::status>& _obj);
|
2015-04-10 22:06:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|