![]() |
Klang C++
Language Reference (draft)
|
Audio buffer for debug output. More...
#include <klang.h>
Inheritance diagram for klang::Debug::Buffer:Public Types | |
| enum | Content { Empty = 0 , Notes = 1 , Effect = 2 , Synth = 3 } |
Public Member Functions | |
| Buffer () | |
| const float * | get () |
| Buffer & | operator+= (const signal in) |
| template<typename TYPE > | |
| Buffer & | operator+= (TYPE &in) |
| signal & | operator>> (signal &destination) const |
| operator const signal & () const | |
| void | clear () |
| void | clear (int size) |
| void | rewind (int offset=0) |
| signal & | operator++ (int) |
Public Attributes | |
| enum klang::Debug::Buffer::Content | content = Empty |
| bool | active = false |
| int | used = 0 |
Private Member Functions | |
| signal & | operator+= (const signal &in) |
|
inline |
Definition at line 2239 of file klang.h.
References klang::buffer::buffer().
|
inline |
|
inline |
Definition at line 2261 of file klang.h.
References active, and klang::buffer::data().
|
inline |
Definition at line 2289 of file klang.h.
References klang::buffer::ptr.
Referenced by klang::Debug::operator const signal &().
|
inline |
Definition at line 2271 of file klang.h.
References active, and klang::buffer::operator+=().
Referenced by klang::Debug::input().
|
inline |
Definition at line 2284 of file klang.h.
References klang::buffer::ptr.
|
inline |
| bool klang::Debug::Buffer::active = false |
Definition at line 2258 of file klang.h.
Referenced by get(), and operator+=().
| enum klang::Debug::Buffer::Content klang::Debug::Buffer::content = Empty |