mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-07 08:10:20 -05:00
add dummy asm implementations
This commit is contained in:
parent
5d354ec49d
commit
e4f5418909
@ -198,6 +198,22 @@ su_op_filter_skipneghighpass:
|
||||
{{end}}
|
||||
|
||||
|
||||
{{- if .HasOp "eq"}}
|
||||
;-------------------------------------------------------------------------------
|
||||
; EQ opcode: perform low/high/band-pass/notch etc. filtering on the signal
|
||||
;-------------------------------------------------------------------------------
|
||||
; Mono: x -> filtered(x)
|
||||
; Stereo: l r -> filtered(l) filtered(r)
|
||||
;-------------------------------------------------------------------------------
|
||||
{{.Func "su_op_eq" "Opcode"}}
|
||||
lodsb ; load the flags to al
|
||||
{{- if .Stereo "eq"}}
|
||||
{{.Call "su_effects_stereohelper"}}
|
||||
{{- end}}
|
||||
ret
|
||||
{{end}}
|
||||
|
||||
|
||||
{{- if .HasOp "clip"}}
|
||||
;-------------------------------------------------------------------------------
|
||||
; CLIP opcode: clips the signal into [-1,1] range
|
||||
|
||||
@ -203,6 +203,18 @@
|
||||
{{end}}
|
||||
|
||||
|
||||
{{- if .HasOp "eq"}}
|
||||
;;-------------------------------------------------------------------------------
|
||||
;; EQ opcode: perform low/high/band-pass/notch etc. filtering on the signal
|
||||
;;-------------------------------------------------------------------------------
|
||||
;; Mono: x -> eq(x)
|
||||
;; Stereo: l r -> eq(l) eq(r)
|
||||
;;-------------------------------------------------------------------------------
|
||||
(func $su_op_eq (param $stereo i32)
|
||||
)
|
||||
{{end}}
|
||||
|
||||
|
||||
{{- if .HasOp "clip"}}
|
||||
;;-------------------------------------------------------------------------------
|
||||
;; CLIP opcode: clips the signal into [-1,1] range
|
||||
|
||||
Reference in New Issue
Block a user