h6. [[SoundDMA]] h6(. » [[SoundDMA SWI Calls|SWI Calls]] h6((. » [[Sound_LinearHandler]] h2. Sound_LinearHandler 1 h5. (SWI &40145) |_<^{width:4em}. Entry | | |<^. R0 |<^. 1 (Reason code) | |<^. R1 |<^. New handler address (0 to uninstall handler) | |<^. R2 |<^. New handler workspace (passed to handler in R0, ignored if R1=0) | |_<^{width:4em}. Exit | | |<^. R1 |<^. Old handler address | |<^. R2 |<^. Old handler workspace (passed to handler in R0) | h4. Use This SWI is used to replace the current [[16 bit linear sound handler]]. h4. Notes This SWI should only be used if [[Sound_Mode 0]] indicates that 16 bit sound output is supported. If no handler was previously installed, 0 will be returned in R1 and -1 in R2. h4. See also * [[Sound_Mode 0]] * [[16 bit linear sound handler]]