Skip to content

Commit

Permalink
Fixed decoder bug for 14bit output of ADPCM on Amiga
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalmalyzer committed Apr 20, 2019
1 parent 6362091 commit cec935b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AmigaReplay/AdpcmSource.s
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ AdpcmSource_DecodeSamples_14BitMonoOutput

move.l d0,(a0)+
lsl.l #8,d1
or.l d1,d5
eor.l d1,d5

lsr.l #2,d5
and.l #$3f3f3f3f,d5
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ v2.1: changed mixahead calculation such that it supports both PAL-nointerlace an
v2.2: bugfix when reinitializing AdpcmSource

v2.3: Implemented chunk-based decoding for 68k version, plus 8bit output

v2.4: Fixed ridiculous bug in 14bit-output of realtime ADPCM replayer for Amiga. Sometimes, the lower 6 bits would be incorrect!
14bit output sound quality is where it should be now.

0 comments on commit cec935b

Please sign in to comment.