per-gron/silk-arm-ios

Silkcodec 1.0.9 is compatible with ARM64 iOS devices now. How should I compile 1.0.9 then?

Opened this issue · 1 comments

Hi Per,
Check here for the source code of 1.0.9.
How should I modify the Makefile to compile decoder for iOS? Can you take a look at this?
Thanks,
snakeninny

I have successfully built the version of 1.0.9, there are only a few modifications in Makefile and *.S. I can't share my project with you, because there are many customs midifications in my project, which makes its hard to compare with the original one.

  1. Makefile: add these macros
CFLAGS += -Dldmgtia=ldmiagt -Dstrlth=strhlt -Dstrgth=strhgt -Dldrgtsh=ldrshgt -Dldmltia=ldmialt -Dldrneh=ldrhne

LDFLAGS + =  -Dldmgtia=ldmiagt -Dstrlth=strhlt -Dstrgth=strhgt -Dldrgtsh=ldrshgt -Dldmltia=ldmialt -Dldrneh=ldrhne
  1. SKP_Silk_sigm_Q15_arm.S & SKP_Silk_resampler_rom_arm.S: these 2 files should be replaced by the same files in this repository.