Data structure for the buffer~ object. More...
#include <buffer.h>
Collaboration diagram for t_buffer:Data Fields | |
| t_object | b_obj |
| doesn't have any signals so it doesn't need to be pxobject | |
| long | b_valid |
| flag is off during read replacement or editing operation | |
| float * | b_samples |
| stored with interleaved channels if multi-channel | |
| long | b_frames |
| number of sample frames (each one is sizeof(float) * b_nchans bytes) | |
| long | b_nchans |
| number of channels | |
| long | b_size |
| size of buffer in floats | |
| float | b_sr |
| sampling rate of the buffer | |
| float | b_1oversr |
| 1 / sr | |
| float | b_msr |
| sr * .001 | |
| float * | b_memory |
| pointer to where memory starts (initial padding for interp) | |
| t_symbol * | b_name |
| name of the buffer | |
| long | b_susloopstart |
| looping info (from AIFF file) in samples | |
| long | b_susloopend |
| looping info (from AIFF file) in samples | |
| long | b_relloopstart |
| looping info (from AIFF file) in samples | |
| long | b_relloopend |
| looping info (from AIFF file) in samples | |
| long | b_format |
| 'AIFF' or 'Sd2f' | |
| t_symbol * | b_filename |
| last file read (not written) for info~ | |
| long | b_oldnchans |
| used for resizing window in case of # of channels change | |
| long | b_outputbytes |
| number of bytes used for output sample (1-4) | |
| long | b_modtime |
| last modified time ("dirty" method) | |
| struct _buffer * | b_peer |
| objects that share this symbol (used as a link in the peers) | |
| t_bool | b_owner |
| b_memory/b_samples "owned" by this object | |
| long | b_outputfmt |
| sample type (A_LONG, A_FLOAT, etc.) | |
| t_int32_atomic | b_inuse |
| objects that use buffer should ATOMIC_INCREMENT / ATOMIC_DECREMENT this in their perform | |
| void * | b_dspchain |
| dspchain used for this instance | |
| long | b_padding |
| amount of padding (number of samples) in b_memory before b_samples starts | |
| long | b_paddingchanged |
| flag indicating that b_padding has changed and needs to be allocated | |
| t_object * | b_jsoundfile |
| internal instance for reading/writing FLAC format | |
| t_systhread_mutex | b_mutex |
| mutex to use when locking and performing operations anywhere except perform method | |
| long | b_wasvalid |
| internal flag used by replacement or editing operation | |
| t_object * | b_custom_error_handler |
| used to return error numbers to a caller if this object is embedded inside of another object (e.g. playlist~) | |
| t_clock * | b_dirty_clock |
| used to return error numbers to a caller if this object is embedded inside of another object (e.g. playlist~) More... | |
| t_qelem * | b_dirty_qelem |
| used to move buffer dirty notifications to the main thread | |
| t_bool | b_dirty_done |
| a buffer is not only dirty, but needs the 'done' message sent out its b_doneout outlet | |
| t_filepath | b_filevol |
| path of last file read (not written) | |
Data structure for the buffer~ object.
Deprectated. Use t_buffer_ref and t_buffer_obj instead.
| t_clock* t_buffer::b_dirty_clock |
used to return error numbers to a caller if this object is embedded inside of another object (e.g. playlist~)
used to move buffer dirty notifications to the main thread