buffers
Members | Descriptions
——————————–|———————————————
class
c74::min::buffer_reference
|
class
c74::min::buffer_lock
|
c74::min::buffer_reference
A reference to a buffer~ object. The buffer_reference automatically adds the management hooks required for your object to work with a buffer~. This includes adding a ‘set’ message and a ‘dblclick’ message as well as dealing with notifications and binding.
Members | Descriptions |
---|---|
public inline buffer_reference( object_base * an_owner,const function & a_function) |
|
public inline ~buffer_reference() |
|
public inline void set( symbol name) |
public inline buffer_reference(
object_base
* an_owner,const function & a_function)
public inline ~buffer_reference()
public inline void set(
symbol
name)
c74::min::buffer_lock
A lock guard and accessor for buffer~ access from the audio thread.
Members | Descriptions |
---|---|
public buffer_lock( buffer_reference & a_buffer_ref) |
|
public ~buffer_lock() |
|
public inline bool valid() |
|
public inline size_t framecount() |
|
public inline int channelcount() |
|
public inline float & operator[](long index) |
|
public inline float & lookup(size_t frame,int channel) |
|
public inline double samplerate() |
|
public inline double length_in_seconds() |
|
public inline void dirty() |
|
public template<bool U,typename enable_if< U==false, int >::type> inline void resize(double length_in_ms) |
|
public template<> buffer_lock( buffer_reference & a_buffer_ref) |
|
public template<> buffer_lock( buffer_reference & a_buffer_ref) |
|
public template<> ~buffer_lock() |
|
public template<> ~buffer_lock() |
public buffer_lock(
buffer_reference
& a_buffer_ref)
public ~buffer_lock()
public inline bool valid()
public inline size_t framecount()
public inline int channelcount()
public inline float & operator[](long index)
public inline float & lookup(size_t frame,int channel)
public inline double samplerate()
public inline double length_in_seconds()
public inline void dirty()
public template<bool U,typename enable_if< U==false, int >::type>
inline void resize(double length_in_ms)
resize a buffer. only available for non-audio thread access.
public template<>
buffer_lock(
buffer_reference
& a_buffer_ref)
public template<>
buffer_lock(
buffer_reference
& a_buffer_ref)
public template<>
~buffer_lock()
public template<>
~buffer_lock()