Maxmod
|
Information about a stream to be opened. More...
#include <mm_types.h>
Data Fields | |
mm_word | buffer_length |
Amount of samples to buffer. Should be a multiple of 16. | |
mm_stream_func | callback |
Function pointer to your routine to fill the stream. | |
mm_word | format |
Sample data format (mm_stream_formats). | |
mm_bool | manual |
Disable automatic fill requests. If set, user must call mmStreamUpdate() manually. | |
mm_word | sampling_rate |
Sampling rate of the stream, measured in Hertz. (1024->32768) | |
mm_word | timer |
Hardware timer selection. (will be used for timing the data requests) (mm_stream_timers). | |
Information about a stream to be opened.
More about manual mode: If this is set, then you must call mmStreamUpdate() periodically to push data into the stream buffer (mmStreamUpdate makes requests to your callback function to fill the stream). Manual mode can be used to have control over when the stream is filled.