Linux Audio
Check our new training course
Embedded Linux Audio
1 2 3 4 5 6 7 8 9 10 11 12
#include "soft-fp.h" #include "quad.h" int FXTOQ(void *rd, void *rs2) { FP_DECL_Q(R); long a = *(long *)rs2; FP_FROM_INT_Q(R, a, 64, long); __FP_PACK_Q(rd, R); return 1; }