#ifndef MISC_ASM_H
#define MISC_ASM_H

#ifndef ASM

/* Sat16Buffer() limits values in buffer by limit.
   E.g. if limit = 1000, data will be limited to -31768 to + 31767.
   Maximum value for limit is 16383. */
void Sat16Buffer(register __i0 s_int16 *data, register __d0 u_int16 limit, register s_int16 __a0 n);

/* Limits the difference in values to limit. Note that one call to
   LimitSlew handles only one channel, so it needs to be called twice for
   a stereo stream. */
void LimitSlew(register __i0 s_int16 *data, register __i2 *mem, register __d0 u_int16 limit, register s_int16 __a0 stereoSamples);

#endif /* !ASM */

#endif /* !MISC_ASM_H */
