;

stream_flag_forward     * &01
stream_flag_backward    * &02
stream_flag_isbackward  * &04 ; status for ping-pong loop
stream_flag_16bit       * &08
stream_flag_interlaced  * &10
stream_flag_filter      * &20

                        ^ 0
stream_smp_ptr          # 4 ; ptr to start of sample
stream_smp_lstart       # 4 ; offset, start of sample loop
stream_smp_lend         # 4 ; offset, end of sample loop
stream_flags            # 1 ; flags: nr of bits per value {8,16}, loop type
stream_dummy            # 3
stream_pos              # 4 ; current pos: offset from start of sample
stream_fpos             # 4 ; current pos decimal part
stream_frequency        # 4 ; frequency at which to play the sample (Hz)
stream_panning          # 4 ; [0 (left) - &100 (right)], &180 surround
stream_volume           # 4 ; sample scale in 1/65536
stream_last_smp_value   # 4 ; stored sample value for use with interpolation
stream_pbuffer          # 4 ; filled with address of fill buffer used
; Filter in the form y0 = a0 * x0 + b1 * y1 + b2 * y2
; where xi is in(-i*T), yi is out(-i*T), ai and bj are in 1.24 fixed point
stream_filter_y1        # 4 ; last filter output sample
stream_filter_y2        # 4 ; before last filter output sample
stream_filter_a0        # 4 ; to multiply with current input sample
stream_filter_b1        # 4 ; to multiply with last output sample
stream_filter_b2        # 4 ; to multiply with before last output sample
size_stream             # 0

 END
