typedef struct t_mmstream {mm_word sampling_rate;mm_word buffer_length; mm_stream_func callback; mm_stream_formats format; mm_stream_timer timer;mm_bool manual; } mm_stream;
Sampling rate of the stream, measured in Hertz.
Amount of samples to buffer. Should be a multiple of 16.
Function pointer to your routine to fill the stream.
Sample data format.
Hardware timer selection. (will be used for timing the data requests)
Disable automatic fill requests.
Information about a stream to be opened.
More about manual: 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.