mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
Clean up whitespace.
This commit is contained in:
parent
6f06306f0c
commit
bd005d52a7
@ -2,7 +2,7 @@ SECT_TEXT(suarithm)
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; op_pop function: a -> (empty)
|
||||
; stereo: a b -> (empty)
|
||||
; stereo: a b -> (empty)
|
||||
;-------------------------------------------------------------------------------
|
||||
%if POP_ID > -1
|
||||
|
||||
@ -19,7 +19,7 @@ su_op_pop_mono:
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
; op_add function: a b -> a+b b
|
||||
; stereo: a b c d -> a+c b+d c d
|
||||
; stereo: a b c d -> a+c b+d c d
|
||||
;-------------------------------------------------------------------------------
|
||||
%if ADD_ID > -1
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
SECT_TEXT(sudistrt)
|
||||
|
||||
EXPORT MANGLE_FUNC(su_op_distort,0)
|
||||
%ifdef INCLUDE_STEREO_DISTORT
|
||||
%ifdef INCLUDE_STEREO_DISTORT
|
||||
call su_effects_stereohelper
|
||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||
%endif
|
||||
@ -49,7 +49,7 @@ su_waveshaper:
|
||||
SECT_TEXT(suhold)
|
||||
|
||||
EXPORT MANGLE_FUNC(su_op_hold,0)
|
||||
%ifdef INCLUDE_STEREO_HOLD
|
||||
%ifdef INCLUDE_STEREO_HOLD
|
||||
call su_effects_stereohelper
|
||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||
%endif
|
||||
@ -82,7 +82,7 @@ su_op_hold_holding:
|
||||
SECT_TEXT(sucrush)
|
||||
|
||||
EXPORT MANGLE_FUNC(su_op_crush,0)
|
||||
%ifdef INCLUDE_STEREO_CRUSH
|
||||
%ifdef INCLUDE_STEREO_CRUSH
|
||||
call su_effects_stereohelper
|
||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||
%endif
|
||||
@ -124,7 +124,7 @@ SECT_TEXT(suingain)
|
||||
EXPORT MANGLE_FUNC(su_op_invgain,0)
|
||||
fld dword [INP+su_invgain_ports.invgain] ; g l (r)
|
||||
jnc su_op_invgain_mono
|
||||
fdiv st2, st0 ; g l r/g
|
||||
fdiv st2, st0 ; g l r/g
|
||||
su_op_invgain_mono:
|
||||
fdivp st1, st0 ; l/g (r/)
|
||||
ret
|
||||
|
@ -355,7 +355,7 @@ SECT_DATA(suconst)
|
||||
; LOADVAL opcode
|
||||
;-------------------------------------------------------------------------------
|
||||
; Input: edx : pointer to unit ports
|
||||
;
|
||||
;
|
||||
; Mono version: push 2*v-1 on stack, where v is the input to port "value"
|
||||
; Stereo version: push 2*v-1 twice on stack
|
||||
;-------------------------------------------------------------------------------
|
||||
|
@ -72,7 +72,7 @@ endstruc
|
||||
%define GATE 0x04
|
||||
%define UNISON2 0x01
|
||||
%define UNISON3 0x02 ; Warning, UNISON3 and UNISON4 do not work with gate at the moment, as they use the same state variable
|
||||
%define UNISON4 0x03
|
||||
%define UNISON4 0x03
|
||||
|
||||
%macro SU_OSCILLAT 8
|
||||
db %2
|
||||
@ -104,7 +104,7 @@ endstruc
|
||||
%endif
|
||||
%if (%8) & UNISON4 > 0
|
||||
%define INCLUDE_UNISONS
|
||||
%endif
|
||||
%endif
|
||||
%endmacro
|
||||
|
||||
struc su_osc_ports
|
||||
@ -237,7 +237,7 @@ endstruc
|
||||
%endif
|
||||
%endmacro
|
||||
|
||||
%macro SU_RECEIVE 1
|
||||
%macro SU_RECEIVE 1
|
||||
USE_RECEIVE
|
||||
%xdefine CMDS CMDS RECEIVE_ID+%1,
|
||||
%if %1 == STEREO
|
||||
|
@ -231,7 +231,7 @@
|
||||
%else
|
||||
%if %0 != PATTERN_SIZE
|
||||
%error 'All patterns should have the same length!'
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endmacro
|
||||
|
||||
@ -297,7 +297,7 @@ struc su_voice
|
||||
.note resd 1
|
||||
.release resd 1
|
||||
.reserved resb (su_unit.size - 8) ; this is done to so the whole voice is 2^n long, see polyphonic player
|
||||
.workspace resb MAX_UNITS * su_unit.size
|
||||
.workspace resb MAX_UNITS * su_unit.size
|
||||
.size
|
||||
endstruc
|
||||
; //----------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user