mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-08 13:30:01 -05:00
init_live updates
ld10k1: init_live updates * Added IEC958 Optical Raw Playback * Changed to mono switches saving GPRs * Renamed controls to match the Audigy driver closer. * switch_2x2.asm: Switch 2 x 2 channels * mono_switch_2.asm: Mono Switch 2 channels * mono_switch_2x2.asm: Mono Switch 2 x 2 channels * prologic.asm: LFE output added Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
This commit is contained in:
parent
6c37fd7953
commit
d54b7eb412
6 changed files with 397 additions and 147 deletions
33
ld10k1/setup/effects/mono_switch_2x2.asm
Normal file
33
ld10k1/setup/effects/mono_switch_2x2.asm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
; Mikael Magnusson
|
||||
name "Mono Switch 2 x 2 channels"
|
||||
include "emu_constants.asm"
|
||||
|
||||
Left0 IO
|
||||
Right0 IO
|
||||
Left1 IO
|
||||
Right1 IO
|
||||
|
||||
tmp0 dyn 1
|
||||
tmp1 dyn 1
|
||||
|
||||
switch control 0,0,1
|
||||
|
||||
switch1 macro dst, src, sw
|
||||
macints dst, C_0, src, sw
|
||||
endm
|
||||
|
||||
switch_neg macro dst, src
|
||||
andxor dst, src, C_1, C_1
|
||||
endm
|
||||
|
||||
switch2 macro dst, src0, src1, sw
|
||||
switch1 tmp0, src1, sw
|
||||
switch_neg tmp1, sw
|
||||
switch1 tmp1, src0, tmp1
|
||||
acc3 dst, tmp0, tmp1, C_0
|
||||
endm
|
||||
|
||||
switch2 Left0, Left0, Left1, switch
|
||||
switch2 Right0, Right0, Right1, switch
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue