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
|
|
|
|
|
|
|
#include <etk/types.h>
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
std::ostream& operator <<(std::ostream& _os, enum audio::orchestra::status _obj);
|
|
|
|
std::ostream& operator <<(std::ostream& _os, const std::vector<enum audio::orchestra::status>& _obj);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|